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_RX28_SPEC_HAS_360_POS
servo does not provide 360 ° position data
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
#define DYNA_RX28_SPEC_DEPTH_MM
depth (mm)
Generic Dynamixel Servo Base Class Interface.
#define DYNA_RX28_SPEC_ANGLE_MAX_DEG
maximum rotation angle in servo mode (deg)
#define DYNA_SPEED_MIN_RAW
minimum raw value
double m_fDepth
depth (mm)
void Init()
Initialize servo class instance.
#define DYNA_RX28_SPEC_TEMP_MIN_C
minimum recommended operational temperature (C)
#define DYNA_RX28_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)
double m_fGearRedectionRatio
gear reduction ratio
#define DYNA_RX28_SPEC_VOLT_MAX_V
maximum operational voltage (V)
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
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.
#define DYNA_RX28_SPEC_HEIGHT_MM
height (mm)
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
RoadNarrows RX-28 Dynamixel Servo Class Interface.
void Init(int nServoId, uint_t uModelNum, uint_t uFwVer)
Initialize servo class instance.
#define DYNA_RX28_SPEC_WEIGHT_G
weight (grams)
#define DYNA_RX28_SPEC_CTL_METHOD
position control method (see Dynamixel Internal Position Control Methods)
RoadNarrows Dynamixel Archetype Servo Abstract Base Class.
#define DYNA_RX28_SPEC_POS_RES_DEG
resolution (degrees)
virtual void CheckData()
Check data for consitencies.
#define DYNA_RX28_SPEC_WIDTH_MM
width (mm)
#define DYNA_VOLT_MIN_RAW
minimum raw temperature
#define DYNA_POS_MAX_RAW
maximum raw angular position
#define DYNA_RX28_SPEC_TEMP_MAX_C
maximum recommended operational temperature (C)
double m_fTempMax
maximum operational temperature (C)
void InitSpec()
Initialize servo fixed specification data.
virtual int SyncData()
Synchronize the shadowed configuration and state data to the servo control table. ...
RoadNarrows Dynamixel Top-Level Package Header File.
#define DYNA_RX28_SPEC_STALL_TORQUE_KGF
maximum stall torque (kgf) at optimal power
#define DYNA_RX28_SPEC_MODES
supported modes (see Dynamixel Operational Modes)
uint_t m_uRawPosMax
maximum raw position value (servo mode)
static const int DYNA_MODEL_NUM
DynaServoSpec_T m_spec
servo specification
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_RX28_SPEC_GEAR_RATIO
gear reduction ratio : 1
DynaServoRX28(DynaComm &comm)
Bare-bones initialization constructor.
double m_fWidth
width (mm)
#define DYNA_RX28_SPEC_MAX_SPEED_RPM
maximum no-load speed (rpm) at optimal power
#define DYNA_RX28_SPEC_ANGLE_MIN_DEG
minimum rotation angle in servo mode (deg)
double m_fAngleMax
max rotation angle in servo mode (deg)
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.
virtual ~DynaServoRX28()
Destructor.