51 #ifndef _DYNA_SERVO_EX106P_H 52 #define _DYNA_SERVO_EX106P_H 54 #include "rnr/rnrconfig.h" 140 uint_t uModelNum = DYNA_MODEL_NUM,
248 virtual int Read(uint_t uAddr, uint_t *pVal);
264 virtual int Write(uint_t uAddr, uint_t uVal);
297 void Init(
int nServoid, uint_t uFwVer);
356 #endif // _DYNA_SERVO_EX106P_H RoadNarrows Dynamixel Bus Communications Abstract Base Class Interface.
Dynamixel EX-106+ Sensed Electrical Current State Extension Structure.
void InitSpec()
Initialize servo fixed specification data.
DynaServoEX106P(DynaComm &comm)
Bare-bones initialization constructor.
#define DYNA_FWVER_NA
firmware version not available
uint_t m_uSensedCurrentTorqueDir
sensed applied torque direction
Generic Dynamixel Servo Base Class Interface.
void Init()
Initialize servo class instance.
virtual int CfgReadDriveMode(bool *pIsMaster, bool *pIsNormal)
Read from the servo configuration EEPROM the drive mode.
DynaEX106PCfgExt_T m_cfgExt
configuration extension data
EX-106+ Dynamixel Servo Class.
RoadNarrows EX Series Dynamixel Declarations.
virtual const DynaEX106PCfgExt_T & GetConfigurationExt()
Get servo extended configuration.
void InitCfg()
Initialize servo configuration data.
virtual int CfgWriteDriveMode(bool bIsMaster, bool bIsNormal)
Write to the servo configuration EEPROM the new drive mode.
#define DYNA_MODEL_NUM_EX106P
EX-106+.
Generic Dynamixel Servo Base Class.
int UnpackDriveMode(uint_t uVal, bool *pIsMaster, bool *pIsNormal)
Unpack drive mode.
static const int DYNA_MODEL_NUM
DynaEX106PStateExt_T m_stateExt
state extension data
RoadNarrows Dynamixel Archetype Servo Abstract Base Class.
virtual int ReadSensedCurrent(uint_t *pMilliAmps, uint_t *pTorqueDir)
Read from the servo configuration EEPROM the sensed current data.
RoadNarrows Dynamixel Top-Level Package Header File.
virtual int Write(uint_t uAddr, uint_t uVal)
virtual ~DynaServoEX106P()
Destructor.
void InitState()
Initialize servo state data.
uint_t PackDriveMode(bool bIsMaster, bool bIsNormal)
Pack drive mode.
virtual void Dump()
Dump contents of the servo EEPROM and RAM control tables.
virtual int Read(uint_t uAddr, uint_t *pVal)
int UnpackSensedCurrent(uint_t uVal, uint_t *pMilliAmps, uint_t *pTorqueDir)
Unpack sensed current.
virtual const DynaEX106PStateExt_T & GetStateExt()
Get servo extended state.
virtual int SyncCfg()
Synchronize the shadowed configuration to the servo control table EEPROM configuration.
bool m_bDriveModeIsMaster
master (slave) servo
uint_t m_uSensedCurrentMilliAmps
sensed current milli-amperes
bool m_bDriveModeIsNormal
normal (reverse) rotation to each other
Dynamixel EX-106+ Driver Mode Configuration Extension Structure.
RoadNarrows Dynamixel Library Error and Logging Routines.
virtual int SyncState()
Synchronize the shadowed state data to the servo control table RAM state.
Dynamixel Bus Communications Abstract Base Class.