#include <dynamixel_tool.h>
Public Member Functions | |
void | addDXL (uint8_t id) |
bool | addTool (const char *model_name, uint8_t id, const char **log=NULL) |
bool | addTool (uint16_t model_number, uint8_t id, const char **log=NULL) |
DynamixelTool () | |
const ControlItem * | getControlItem (const char *item_name, const char **log=NULL) |
const ControlItem * | getControlTable (void) |
uint8_t | getDynamixelBuffer (void) |
uint8_t | getDynamixelCount (void) |
const uint8_t * | getID (void) |
float | getMaxRadian (void) |
float | getMinRadian (void) |
const ModelInfo * | getModelInfo (void) |
const char * | getModelName (void) |
uint16_t | getModelNumber (void) |
float | getRPM (void) |
uint8_t | getTheNumberOfControlItem (void) |
int64_t | getValueOfMaxRadianPosition (void) |
int64_t | getValueOfMinRadianPosition (void) |
int64_t | getValueOfZeroRadianPosition (void) |
void | initTool (void) |
~DynamixelTool () | |
Private Types | |
enum | { DYNAMIXEL_BUFFER = 30 } |
Private Member Functions | |
bool | setControlTable (const char *model_name, const char **log=NULL) |
bool | setControlTable (uint16_t model_number, const char **log=NULL) |
bool | setModelName (uint16_t model_number, const char **log=NULL) |
bool | setModelNumber (const char *model_name, const char **log=NULL) |
Private Attributes | |
const ControlItem * | control_table_ |
uint8_t | dxl_cnt_ |
uint8_t | dxl_id_ [DYNAMIXEL_BUFFER] |
const ModelInfo * | model_info_ |
const char * | model_name_ |
uint16_t | model_number_ |
uint16_t | the_number_of_control_item_ |
Definition at line 27 of file dynamixel_tool.h.
|
private |
Enumerator | |
---|---|
DYNAMIXEL_BUFFER |
Definition at line 30 of file dynamixel_tool.h.
DynamixelTool::DynamixelTool | ( | ) |
Definition at line 113 of file dynamixel_tool.cpp.
DynamixelTool::~DynamixelTool | ( | ) |
Definition at line 115 of file dynamixel_tool.cpp.
void DynamixelTool::addDXL | ( | uint8_t | id | ) |
Definition at line 157 of file dynamixel_tool.cpp.
bool DynamixelTool::addTool | ( | const char * | model_name, |
uint8_t | id, | ||
const char ** | log = NULL |
||
) |
Definition at line 125 of file dynamixel_tool.cpp.
bool DynamixelTool::addTool | ( | uint16_t | model_number, |
uint8_t | id, | ||
const char ** | log = NULL |
||
) |
Definition at line 141 of file dynamixel_tool.cpp.
const ControlItem * DynamixelTool::getControlItem | ( | const char * | item_name, |
const char ** | log = NULL |
||
) |
Definition at line 295 of file dynamixel_tool.cpp.
const ControlItem * DynamixelTool::getControlTable | ( | void | ) |
Definition at line 315 of file dynamixel_tool.cpp.
uint8_t DynamixelTool::getDynamixelBuffer | ( | void | ) |
Definition at line 255 of file dynamixel_tool.cpp.
uint8_t DynamixelTool::getDynamixelCount | ( | void | ) |
Definition at line 250 of file dynamixel_tool.cpp.
const uint8_t * DynamixelTool::getID | ( | void | ) |
Definition at line 243 of file dynamixel_tool.cpp.
float DynamixelTool::getMaxRadian | ( | void | ) |
Definition at line 285 of file dynamixel_tool.cpp.
float DynamixelTool::getMinRadian | ( | void | ) |
Definition at line 280 of file dynamixel_tool.cpp.
const ModelInfo * DynamixelTool::getModelInfo | ( | void | ) |
Definition at line 320 of file dynamixel_tool.cpp.
const char * DynamixelTool::getModelName | ( | void | ) |
Definition at line 233 of file dynamixel_tool.cpp.
uint16_t DynamixelTool::getModelNumber | ( | void | ) |
Definition at line 238 of file dynamixel_tool.cpp.
float DynamixelTool::getRPM | ( | void | ) |
Definition at line 260 of file dynamixel_tool.cpp.
uint8_t DynamixelTool::getTheNumberOfControlItem | ( | void | ) |
Definition at line 290 of file dynamixel_tool.cpp.
int64_t DynamixelTool::getValueOfMaxRadianPosition | ( | void | ) |
Definition at line 270 of file dynamixel_tool.cpp.
int64_t DynamixelTool::getValueOfMinRadianPosition | ( | void | ) |
Definition at line 265 of file dynamixel_tool.cpp.
int64_t DynamixelTool::getValueOfZeroRadianPosition | ( | void | ) |
Definition at line 275 of file dynamixel_tool.cpp.
void DynamixelTool::initTool | ( | void | ) |
Definition at line 117 of file dynamixel_tool.cpp.
|
private |
Definition at line 162 of file dynamixel_tool.cpp.
|
private |
Definition at line 180 of file dynamixel_tool.cpp.
|
private |
Definition at line 196 of file dynamixel_tool.cpp.
|
private |
Definition at line 214 of file dynamixel_tool.cpp.
|
private |
Definition at line 37 of file dynamixel_tool.h.
|
private |
Definition at line 32 of file dynamixel_tool.h.
|
private |
Definition at line 31 of file dynamixel_tool.h.
|
private |
Definition at line 38 of file dynamixel_tool.h.
|
private |
Definition at line 34 of file dynamixel_tool.h.
|
private |
Definition at line 35 of file dynamixel_tool.h.
|
private |
Definition at line 40 of file dynamixel_tool.h.