55 #include "rnr/rnrconfig.h" 58 #include "rnr/units.h" 90 Init(nServoId, uFwVer);
DynaServoAX12(DynaComm &comm)
Bare-bones initialization constructor.
RoadNarrows Dynamixel Bus Communications Abstract Base Class Interface.
#define DYNA_AX12_SPEC_GEAR_RATIO
gear reduction ratio : 1
RoadNarrows AX Series Dynamixel Declarations.
char * newstr(const char *s)
Allocate new duplicated string.
#define DYNA_AX12_SPEC_ANGLE_MIN_DEG
minimum rotation angle in servo mode (deg)
#define DYNA_TORQUE_MAX_RAW
maximum raw torque
double m_fMaxSpeed
max no-load speed (rpm) at optimal power
uint_t m_uRawVoltMin
minimum raw voltage value
#define DYNA_AX12_SPEC_ANGLE_MAX_DEG
maximum rotation angle in servo mode (deg)
#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_AX12_SPEC_MODES
supported modes (see Dynamixel Operational Modes)
#define DYNA_VOLT_MAX_RAW
maximum raw temperature
double m_fVoltMax
maximum operational voltage (V)
#define DYNA_AX12_SPEC_MAX_SPEED_RPM
maximum no-load speed (rpm) at optimal power
uint_t m_uRawSpeedMin
minimum raw speed magnitude value
RoadNarrows AX-12, AX-12+, AX-12A Dynamixel Servo Class Interface.
Generic Dynamixel Servo Base Class Interface.
#define DYNA_SPEED_MIN_RAW
minimum raw value
#define DYNA_AX12_SPEC_WEIGHT_G
weight (grams)
virtual ~DynaServoAX12()
Destructor.
double m_fDepth
depth (mm)
void Init()
Initialize servo class instance.
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_AX12_SPEC_HEIGHT_MM
height (mm)
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_AX12_SPEC_DEPTH_MM
depth (mm)
#define DYNA_AX12_SPEC_VOLT_MAX_V
maximum operational voltage (V)
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.
#define DYNA_AX12_SPEC_HAS_360_POS
servo does not provide 360 ° position data
char * m_sModelName
model name
#define DYNA_AX12_SPEC_POS_RES_DEG
resolution (degrees)
#define DYNA_AX12_SPEC_TEMP_MIN_C
minimum recommended operational temperature (C)
Generic Dynamixel Servo Base Class.
uint_t m_uRawTempMin
minimum raw temperature value
#define DYNA_AX12_SPEC_CTL_METHOD
position control method (see Dynamixel Internal Position Control Methods)
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
#define DYNA_POS_MAX_RAW
maximum raw angular position
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_AX12_SPEC_STALL_TORQUE_KGF
maximum stall torque (kgf) at optimal power
#define DYNA_AX12_SPEC_WIDTH_MM
width (mm)
uint_t m_uRawPosMax
maximum raw position value (servo mode)
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
double m_fWidth
width (mm)
double m_fAngleMax
max rotation angle in servo mode (deg)
void InitSpec()
Initialize servo fixed specification data.
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.
#define DYNA_AX12_SPEC_TEMP_MAX_C
maximum recommended operational temperature (C)
#define DYNA_AX12_SPEC_VOLT_MIN_V
minimum operational voltage (V)
Dynamixel Bus Communications Abstract Base Class.