19 #include "../../include/dynamixel_workbench_toolbox/dynamixel_tool.h" 111 #define COUNT_DYNAMIXEL_MODEL (sizeof(dynamixel_model_table)/sizeof(dynamixel_model_table[0])) 132 if (result ==
false)
return false;
136 if (result ==
false)
return false;
147 if (result ==
false)
return false;
152 if (result ==
false)
return false;
165 uint8_t name_length = strlen(name);
169 if(strncmp(name, dynamixel_model_table[index].name, name_length) == 0)
176 *log =
"[DynamixelTool] Failed to set control table due to mismatch model name and model number";
189 *log =
"[DynamixelTool] Failed to get control table or model info";
198 uint16_t num = model_number;
202 if (num == dynamixel_model_table[index].number)
210 *log =
"[DynamixelTool] Failed to find model name";
217 uint8_t name_length = strlen(name);
229 *log =
"[DynamixelTool] Failed to find model number";
245 const uint8_t* id_table_ =
dxl_id_;
298 uint8_t name_length = strlen(item_name);
303 (memcmp(item_name, control_item->
item_name, name_length) == 0))
311 *log =
"[DynamixelTool] Can't find Item";
const ControlItem * getControlTable(uint16_t model_number)
#define PRO_H54_100_S500_R
#define PRO_M54_60_S250_R_A
#define PRO_M42_10_S260_R_A
int64_t value_of_min_radian_position
#define PRO_M54_40_S250_R
#define PRO_H54_100_S500_R_A
uint8_t getTheNumberOfControlItem()
static const char * model_name
const ModelInfo * getModelInfo(uint16_t model_number)
#define PRO_PLUS_H54P_100_S500_R
#define PRO_L54_50_S290_R
#define PRO_PLUS_M42P_010_S260_R
int64_t value_of_max_radian_position
#define PRO_PLUS_M54P_060_S250_R
#define PRO_L54_50_S500_R
#define PRO_H42_20_S300_R
#define PRO_PLUS_H54P_200_S500_R
int64_t value_of_zero_radian_position
#define PRO_M42_10_S260_R
#define PRO_M54_40_S250_R_A
#define PRO_H54_200_S500_R_A
#define PRO_L54_30_S400_R
#define PRO_M54_60_S250_R
#define PRO_H54_200_S500_R
#define PRO_H42_20_S300_R_A
#define PRO_L42_10_S300_R
#define PRO_PLUS_H42P_020_S300_R
#define PRO_PLUS_M54P_040_S250_R
#define PRO_L54_30_S500_R