mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 17:47:21 +02:00
working
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user