Servo control

This commit is contained in:
2025-07-15 10:59:48 -04:00
parent cf5be03188
commit d3e42e8dff
20 changed files with 309 additions and 531 deletions

View File

@@ -0,0 +1,16 @@
//
// Created by Johnathon Slightham on 2025-07-15.
//
#include "control/ActuatorFactory.h"
#include <control/Servo1Actuator.h>
std::unique_ptr<IActuator> ActuatorFactory::create_actuator(ModuleType type) {
switch (type) {
case ModuleType_SERVO_1:
return std::make_unique<Servo1Actuator>();
default:
return nullptr;
}
}