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_RX10_SPEC_ANGLE_MAX_DEG
maximum rotation angle in servo mode (deg)
#define DYNA_RX10_SPEC_DEPTH_MM
depth (mm)
#define DYNA_TORQUE_MAX_RAW
maximum raw torque
double m_fMaxSpeed
max no-load speed (rpm) at optimal power
#define DYNA_RX10_SPEC_CTL_METHOD
position control method (see Dynamixel Internal Position Control Methods)
#define DYNA_RX10_SPEC_POS_RES_DEG
resolution (degrees)
RoadNarrows RX Series Dynamixel Declarations.
virtual ~DynaServoRX10()
Destructor.
uint_t m_uRawVoltMin
minimum raw voltage value
#define DYNA_RX10_SPEC_VOLT_MAX_V
maximum operational voltage (V)
#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
RX-10 Dynamixel Servo Class Interface.
Generic Dynamixel Servo Base Class Interface.
#define DYNA_SPEED_MIN_RAW
minimum raw value
double m_fDepth
depth (mm)
void Init()
Initialize servo class instance.
#define DYNA_RX10_SPEC_VOLT_MIN_V
minimum operational voltage (V)
uint_t m_uCtlMethodUsed
Dynamixel Internal Position Control Methods
double m_fVoltMin
minimum operational voltage (V)
double m_fAngleMin
min rotation angle in servo mode (deg)
#define DYNA_RX10_SPEC_ANGLE_MIN_DEG
minimum 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_RX10_SPEC_WEIGHT_G
weight (grams)
#define DYNA_RX10_SPEC_HAS_360_POS
servo does not provide 360 ° position data
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
Generic Dynamixel Servo Base Class.
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
#define DYNA_RX10_SPEC_TEMP_MAX_C
maximum recommended operational temperature (C)
#define DYNA_RX10_SPEC_HEIGHT_MM
height (mm)
void Init(int nServoId, uint_t uModelNum, uint_t uFwVer)
Initialize servo class instance.
#define DYNA_RX10_SPEC_MAX_SPEED_RPM
maximum no-load speed (rpm) at optimal power
RoadNarrows Dynamixel Archetype Servo Abstract Base Class.
virtual void CheckData()
Check data for consitencies.
static const int DYNA_MODEL_NUM
#define DYNA_RX10_SPEC_STALL_TORQUE_KGF
maximum stall torque (kgf) at optimal power
#define DYNA_VOLT_MIN_RAW
minimum raw temperature
#define DYNA_POS_MAX_RAW
maximum raw angular position
double m_fTempMax
maximum operational temperature (C)
#define DYNA_RX10_SPEC_WIDTH_MM
width (mm)
virtual int SyncData()
Synchronize the shadowed configuration and state data to the servo control table. ...
RoadNarrows Dynamixel Top-Level Package Header File.
uint_t m_uRawPosMax
maximum raw position value (servo mode)
DynaServoSpec_T m_spec
servo specification
DynaServoRX10(DynaComm &comm)
Bare-bones initialization constructor.
void InitSpec()
Initialize servo fixed specification data.
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
#define DYNA_RX10_SPEC_TEMP_MIN_C
minimum recommended operational temperature (C)
double m_fWidth
width (mm)
#define DYNA_RX10_SPEC_GEAR_RATIO
gear reduction ratio : 1
double m_fAngleMax
max rotation angle in servo mode (deg)
#define DYNA_RX10_SPEC_MODES
supported modes (see Dynamixel Operational Modes)
bool m_bHas360Pos
does [not] have full 360 position info
uint_t m_uRawVoltMax
maximum raw voltage value
RoadNarrows Dynamixel Library Error and Logging Routines.
Dynamixel Bus Communications Abstract Base Class.