1 #ifndef DXL_CONTROL_CONTROL_SETTING_H 2 #define DXL_CONTROL_CONTROL_SETTING_H 5 #include <std_msgs/String.h> 12 #define OPE_CURRENT_MODE (0) 13 #define OPE_VELOCITY_MODE (1) 14 #define OPE_POSITION_MODE (3) 15 #define OPE_EXT_POS_MODE (4) 16 #define OPE_CURR_POS_MODE (5) 17 #define OPE_PWM_MODE (16) 20 #define KEY_DXL_PORT ("dynamixel_port") 21 #define KEY_PORTNAME ("/port_name") 22 #define KEY_BAUDRATE ("/baud_rate") 23 #define KEY_JOINTS ("/joints") 24 #define KEY_JPARAM_ID ("/id") 25 #define KEY_JPARAM_CENTER ("/center") 26 #define KEY_JPARAM_HOME ("/home") 27 #define KEY_JPARAM_EFFCNST ("/effort_const") 28 #define KEY_JPARAM_OPEMODE ("/mode") 30 #define DEFAULT_CENTER (2048) 31 #define DEFAULT_EFF_CNST (1.0) 32 #define DEFAULT_OPE_MODE (OPE_POSITION_MODE) 58 std::string loadPortName(
void );
71 bool isPortDefine(
void );
72 uint32_t loadBaudRate(
void );
73 bool loadJointList(
void );
74 bool loadJointParam(
void );
uint32_t getjointNum(void)
ros::NodeHandle node_handle
std::vector< ST_SERVO_PARAM > getServoParam(void)
struct SERVO_PARAM ST_SERVO_PARAM
std::string getPortName(void)
std::vector< ST_SERVO_PARAM > joint_list
uint32_t getBaudrate(void)