![]() |
Hekateros
3.4.3
RoadNarrows Robotics Robot Arm Project
|
Joint state class. More...
#include <hekJoint.h>
Public Member Functions | |
| HekJointState () | |
| Default constructor. | |
| HekJointState (const HekJointState &src) | |
| Copy constructor. | |
| ~HekJointState () | |
| Destructor. | |
| HekJointState | operator= (const HekJointState &rhs) |
| Assignment operator. More... | |
Public Attributes | |
| std::string | m_strName |
| joint name | |
| HekOpState | m_eOpState |
| joint operational state | |
| int | m_nMasterServoId |
| master servo id | |
| int | m_nSlaveServoId |
| linked slave servo id (if any) | |
| double | m_fPosition |
| current joint position (radians) | |
| double | m_fVelocity |
| current joint velocity (% of max) | |
| double | m_fEffort |
| current joint effort (servo load) | |
| int | m_nOdPos |
| current master servo odometer pos (ticks) | |
| int | m_nEncPos |
| current master servo encoder pos (ticks) | |
| int | m_nSpeed |
| current master servo raw speed (unitless) | |
| HekTriState | m_eOptSwitch [HekOptLimitMaxPerJoint] |
| current state of optical switch(es) | |
Joint state class.
This class encapsulates the current state of one joint.
Definition at line 287 of file hekJoint.h.
| HekJointState HekJointState::operator= | ( | const HekJointState & | rhs | ) |
Assignment operator.
| rhs | Right hand side object. |
Definition at line 259 of file hekJoint.cxx.
References m_eOpState, m_eOptSwitch, m_fEffort, m_fPosition, m_fVelocity, m_nEncPos, m_nMasterServoId, m_nOdPos, m_nSlaveServoId, m_nSpeed, and m_strName.