![]() |
Hekateros
3.4.3
RoadNarrows Robotics Robot Arm Project
|
Container class to hold Dynamixel synchronous messages data. More...
#include <hekKinJoint.h>
Public Member Functions | |
| SyncMoveMsgs () | |
| Default constructor. | |
| virtual | ~SyncMoveMsgs () |
| Destructor. | |
| void | clear () |
| Clear sync messages. | |
| int | addSpeed (int nServoId, int nServoSpeed) |
| Add servo speed to speed tuple array. More... | |
| int | addOdPos (int nServoId, int nServoPos) |
| Add servo position to position tuple array. More... | |
| uint_t | getSpeedTupleCount () |
| Get the number of added speed tuples to speed tuple array. More... | |
| DynaSpeedTuple_T * | getSpeedTuples () |
| Get the speed tuple array. More... | |
| uint_t | getOdPosTupleCount () |
| Get the number of added position tuples to position tuple array. More... | |
| DynaPosTuple_T * | getOdPosTuples () |
| Get the position tuple array. More... | |
Protected Attributes | |
| DynaSpeedTuple_T | m_tupSpeed [DYNA_ID_NUMOF] |
| speed tuple array | |
| uint_t | m_uSpeedTupCount |
| speed tuple count | |
| DynaPosTuple_T | m_tupOdPos [DYNA_ID_NUMOF] |
| position tuple array | |
| uint_t | m_uOdPosTupCount |
| positon tuple count | |
Container class to hold Dynamixel synchronous messages data.
Definition at line 93 of file hekKinJoint.h.
| int SyncMoveMsgs::addOdPos | ( | int | nServoId, |
| int | nServoPos | ||
| ) |
Add servo position to position tuple array.
| nServoId | Servo id. |
| nServoPos | Servo position (odometer ticks). |
Definition at line 125 of file hekKinJoint.cxx.
Referenced by hekateros::HekKinJoint::addServoMsgEntries(), and ~SyncMoveMsgs().
| int SyncMoveMsgs::addSpeed | ( | int | nServoId, |
| int | nServoSpeed | ||
| ) |
Add servo speed to speed tuple array.
| nServoId | Servo id. |
| nServoSpeed | Servo speed (raw unitless). |
Definition at line 107 of file hekKinJoint.cxx.
Referenced by hekateros::HekKinJoint::addServoMsgEntries(), and ~SyncMoveMsgs().
|
inline |
Get the number of added position tuples to position tuple array.
Definition at line 162 of file hekKinJoint.h.
References m_uOdPosTupCount.
|
inline |
Get the position tuple array.
Definition at line 172 of file hekKinJoint.h.
References m_tupOdPos.
|
inline |
Get the number of added speed tuples to speed tuple array.
Definition at line 142 of file hekKinJoint.h.
References m_uSpeedTupCount.
|
inline |
Get the speed tuple array.
Definition at line 152 of file hekKinJoint.h.
References m_tupSpeed.