This commit is contained in:
2025-07-27 20:50:14 -04:00
parent 3cbdf0845d
commit 74d370e21a
6 changed files with 31 additions and 22 deletions

View File

@@ -15,6 +15,8 @@ std::unique_ptr<IActuator> ActuatorFactory::create_actuator(const ModuleType typ
switch (type) {
case ModuleType_SERVO_1:
return std::make_unique<Servo1Actuator>();
case ModuleType_SERVO_2:
return std::make_unique<Servo1Actuator>();
case ModuleType_DC_MOTOR:
return std::make_unique<DCMotorActuator>();
default: