55 #include "rnr/rnrconfig.h" 58 #include "rnr/units.h" 90 Init(nServoId, uFwVer);
RoadNarrows Dynamixel Bus Communications Abstract Base Class Interface.
char * newstr(const char *s)
Allocate new duplicated string.
#define DYNA_TORQUE_MAX_RAW
maximum raw torque
double m_fMaxSpeed
max no-load speed (rpm) at optimal power
RoadNarrows RX Series Dynamixel Declarations.
#define DYNA_RX24F_SPEC_TEMP_MIN_C
minimum recommended operational temperature (C)
uint_t m_uRawVoltMin
minimum raw voltage value
#define DYNA_POS_MIN_RAW
minimum raw angular position
#define DYNA_TEMP_MIN_RAW
minimum raw temperature
double m_fHeight
height (mm)
uint_t m_uRawPosMin
minimum raw position value (servo mode)
uint_t m_uRawSpeedMax
maximum raw speed magnitude value
#define DYNA_VOLT_MAX_RAW
maximum raw temperature
double m_fVoltMax
maximum operational voltage (V)
uint_t m_uRawSpeedMin
minimum raw speed magnitude value
Generic Dynamixel Servo Base Class Interface.
#define DYNA_RX24F_SPEC_HAS_360_POS
servo does not provide 360 ° position data
#define DYNA_SPEED_MIN_RAW
minimum raw value
double m_fDepth
depth (mm)
void Init()
Initialize servo class instance.
#define DYNA_RX24F_SPEC_MODES
supported modes (see Dynamixel Operational Modes)
uint_t m_uCtlMethodUsed
Dynamixel Internal Position Control Methods
#define DYNA_RX24F_SPEC_ANGLE_MAX_DEG
maximum rotation angle in servo mode (deg)
double m_fVoltMin
minimum operational voltage (V)
double m_fAngleMin
min rotation angle in servo mode (deg)
double m_fGearRedectionRatio
gear reduction ratio
double m_fWeight
weight (grams)
uint_t m_uSupportedModes
Dynamixel Operational Modes
#define DYNA_POS_MODULO
servo position modulo [0-max]
uint_t m_uRawPosModulo
raw position modulo
#define DYNA_RX24F_SPEC_DEPTH_MM
depth (mm)
#define DYNA_RX24F_SPEC_VOLT_MAX_V
maximum operational voltage (V)
#define DYNA_RX24F_SPEC_GEAR_RATIO
gear reduction ratio : 1
#define DYNA_RX24F_SPEC_WEIGHT_G
weight (grams)
#define DYNA_RX24F_SPEC_STALL_TORQUE_KGF
maximum stall torque (kgf) at optimal power
double m_fResolution
resolution (degrees)
#define DYNA_TORQUE_MIN_RAW
minimum raw torque
uint_t m_uRawTorqueMin
minimum raw torque value
The libDynamixel internal declarations.
char * m_sModelName
model name
DynaServoRX24F(DynaComm &comm)
Bare-bones initialization constructor.
Generic Dynamixel Servo Base Class.
RoadNarrows RX-24F Dynamixel servo Class Interface.
void InitSpec()
Initialize servo fixed specification data.
uint_t m_uRawTempMin
minimum raw temperature value
double m_fTempMin
minimum operational temperature (C)
void InitCfg()
Initialize servo configuration data.
uint_t m_uRawTorqueMax
maximum raw torque value
void InitState()
Initialize servo state data.
#define DYNA_TEMP_MAX_RAW
maximum raw temperature
void Init(int nServoId, uint_t uModelNum, uint_t uFwVer)
Initialize servo class instance.
RoadNarrows Dynamixel Archetype Servo Abstract Base Class.
virtual void CheckData()
Check data for consitencies.
#define DYNA_VOLT_MIN_RAW
minimum raw temperature
virtual ~DynaServoRX24F()
Destructor.
#define DYNA_POS_MAX_RAW
maximum raw angular position
#define DYNA_RX24F_SPEC_POS_RES_DEG
resolution (degrees)
double m_fTempMax
maximum operational temperature (C)
virtual int SyncData()
Synchronize the shadowed configuration and state data to the servo control table. ...
RoadNarrows Dynamixel Top-Level Package Header File.
#define DYNA_RX24F_SPEC_MAX_SPEED_RPM
maximum no-load speed (rpm) at optimal power
uint_t m_uRawPosMax
maximum raw position value (servo mode)
#define DYNA_RX24F_SPEC_ANGLE_MIN_DEG
minimum rotation angle in servo mode (deg)
DynaServoSpec_T m_spec
servo specification
#define DYNA_RX24F_SPEC_CTL_METHOD
position control method (see Dynamixel Internal Position Control Methods)
#define DYNA_RX24F_SPEC_WIDTH_MM
width (mm)
uint_t m_uRawTempMax
maximum raw temperature value
double m_fStallTorque
max stall torque (kgf) at optimal power
#define DYNA_SPEED_MAX_RAW
maximum raw value
static const int DYNA_MODEL_NUM
double m_fWidth
width (mm)
double m_fAngleMax
max rotation angle in servo mode (deg)
bool m_bHas360Pos
does [not] have full 360 position info
#define DYNA_RX24F_SPEC_TEMP_MAX_C
maximum recommended operational temperature (C)
#define DYNA_RX24F_SPEC_VOLT_MIN_V
minimum operational voltage (V)
#define DYNA_RX24F_SPEC_HEIGHT_MM
height (mm)
uint_t m_uRawVoltMax
maximum raw voltage value
RoadNarrows Dynamixel Library Error and Logging Routines.
Dynamixel Bus Communications Abstract Base Class.