58 #include "rnr/rnrconfig.h" 402 m_strKinName = strKinName;
412 return m_jointState.size();
422 bool hasJoint(
const std::string &strJointName);
431 m_jointState.push_back(jointState);
446 return m_jointState[i];
466 m_strKinName.clear();
467 m_jointState.clear();
478 #endif // _HEK_JOINT_H int m_nSlaveServoId
linked slave servo id (if any)
int getMasterServoId() const
Get master servo id.
Hekateros robotic manipulator calibration by stretching class.
HekRobotJoint * m_pJoint
limit switch associated robotic joint
void setStopAtLimitsState(bool bStopAtLimits)
Set auto-stop at joint electronic limits state.
HekRobotJoint operator=(const HekRobotJoint &rhs)
Assignment operator.
int m_nMaxSoftLimitOd
joint max soft limit (odometer ticks)
HekOpState m_eOpState
current operational state
double m_fMinSoftLimitRads
joint min soft limit (radians)
int m_nOdPos
current master servo odometer pos (ticks)
int m_eLimitTypes
joint limit types
HekJointStatePoint(const HekJointStatePoint &src)
Copy constructor.
Operational robotic joint description class.
int m_nSpeed
current master servo raw speed (unitless)
~HekJointOptical()
Destructor.
<b><i>Hekateros</i></b> optical limit switches.
void clear()
Clear all state data.
double m_fTicksPerJointRad
encoder/odom. ticks per joint radian
double m_fTicksPerServoRad
encoder/odom. ticks per servo radian
double m_fMaxServoRadsPerSec
maximum servo radians per second
int m_eJointType
joint type
double m_fMaxJointRadsPerSec
maximum joint radians per second
double m_fPosition
current joint position (radians)
size_t getNumPoints()
Get the number of joint states in joint state point.
double m_fVelocity
current joint velocity (% of max)
~HekRobotJoint()
Destructor.
int m_nMinPhyLimitOd
joint min phys limit (odometer ticks)
int m_nMasterServoId
master servo id
HekJointState & operator[](const size_t i)
Subscript operator to get reference to joint point at the given index.
HekOpState m_eOpState
joint operational state
std::string getJointName() const
Get joint name.
double m_fParkPosRads
joint parked position (radians)
HekJointOptical operator=(const HekJointOptical &rhs)
Assignment operator.
void append(const HekJointState &jointState)
Append joint state to end of joint state point.
Hekateros powered joint dynamics and kinematics control class.
HekTriState
<b><i>Hekateros</i></b> tri-state type.
int m_nMasterServoId
master servo id
double m_fCalibPosRads
joint calibrated position (radians)
double m_fMinPhyLimitRads
joint min physical limit (radians)
bool doStopAtLimits() const
Get auto-stop at joint electronic limits state.
byte_t m_uCurVal
i/o expander current bit value
bool m_bIsServoContinuous
servo should [not] be continuous mode
HekXmlTune <b><i>Hekateros</i></b> XML tuning class.
int m_nMinSoftLimitOd
joint min soft limit (odometer ticks)
int m_nMaxPhyLimitOd
joint max phys limit (odometer ticks)
~HekJointState()
Destructor.
std::string m_strKinName
name of kinematic chain
byte_t m_byOptLimitMask[HekOptLimitMaxPerJoint]
optical limit mask array
HekRobotJoint()
Default constructor.
HekOpState
Robot or joint operational states.
bool m_bStopAtOptLimits
do [not] stop at optical limits
~HekJointStatePoint()
Destructor.
HekJointOptical(const HekJointOptical &src)
Copy constructor.
HekJointOptical()
Default constructor.
void setKinematicChainName(std::string strKinName)
Set the kinematic chain name.
std::map< int, HekRobotJoint > MapRobotJoints
Map of robot joints.
std::string m_strName
joint name
std::vector< HekJointState > m_jointState
vector of joint states
std::string m_strName
joint name
static const int HekOptLimitMaxPerJoint
max limits/joint
Hekateros robotic manipulator calibration abstract base class.
byte_t m_uMask
i/o expander bit mask
Top-level package include file.
double m_fMaxSoftLimitRads
joint max soft limit (radians)
double m_fBalPosRads
joint balanced position (radians)
int m_nSlaveServoId
linked slave servo id (if any)
int m_nMasterServoDir
master servo normalized direction
double m_fGearRatio
joint gear ratio
<b><i>Hekateros</i></b> power, joint limits, and alarm monitoring class.
Operational robotic joint optical limits class.
Hekateros robotic manipulator plus accesories class.
double m_fEffort
current joint effort (servo load)
double m_fMaxPhyLimitRads
joint max physical limit (radians)
HekJointStatePoint()
Default constructor.
int m_nEncPos
current master servo encoder pos (ticks)
std::string getKinematicChainName()
Get the kinematic chain name.
HekOpticalLimit_T m_limit
optical limit info
Special wrist rotation joint kinematics and dynamics class.
The <b><i>Hekateros</i></b> namespace encapsulates all <b><i>Hekateros</i></b> related constructs...
HekJointStatePoint operator=(const HekJointStatePoint &rhs)
Assignment operator.
double m_fOverTorqueThDft
joint over torque th default (norm).