24 #ifndef ROBOTIS_FRAMEWORK_COMMON_MOTION_MODULE_H_ 25 #define ROBOTIS_FRAMEWORK_COMMON_MOTION_MODULE_H_ 53 std::map<std::string, DynamixelState *>
result_;
62 if(this->enable_ == enable)
65 this->enable_ = enable;
76 virtual void initialize(
const int control_cycle_msec,
Robot *robot) = 0;
77 virtual void process(std::map<std::string, Dynamixel *> dxls, std::map<std::string, double> sensors) = 0;
79 virtual void stop() = 0;
std::map< std::string, DynamixelState * > result_
virtual void onModuleDisable()
virtual bool isRunning()=0
ControlMode control_mode_
void setModuleEnable(bool enable)
ControlMode getControlMode()
virtual void initialize(const int control_cycle_msec, Robot *robot)=0
virtual void onModuleEnable()
virtual void process(std::map< std::string, Dynamixel * > dxls, std::map< std::string, double > sensors)=0
std::string getModuleName()