55 #include "rnr/rnrconfig.h" 57 #include "Dynamixel/Dynamixel.h" 251 int set(
int eProdId, uint_t uHwVer);
265 return m_eProdFamily;
315 return m_nNumOptLimits;
337 return index < m_vecSpecLinks.size()? &m_vecSpecLinks.at(index): NULL;
349 return index < m_vecSpecJoints.size()? &m_vecSpecJoints.at(index): NULL;
379 return index < m_vecSpecServos.size()? &m_vecSpecServos.at(index): NULL;
396 bool hasServo(
int nServoId);
416 #endif // _HEK_SPEC_H int m_nSlaveServoId
linked slave servo id, if any
double m_fCalibPos
joint calibrated position (degrees)
bool m_bMaster
servo is [not] master in doulbe servo joints
HekOpticalLimit_T m_limit[HekOptLimitMaxPerJoint]
optical limits
HekSpecServo_T operator=(const HekSpecServo_T &rhs)
Assignment operator.
std::string m_strName
joint name
unknown/undefined joint type
int m_nNumLinks
number of links
std::vector< HekSpecJoint_T > m_vecSpecJoints
vector of joint specs
double m_fLength
link length (mm)
HekLimitType
Joint limit detection types.
HekSpecLink_T operator=(const HekSpecLink_T &rhs)
Assignment operator.
double m_fBalancedPos
joint balanced position (degrees)
number of supported joint types
std::vector< HekSpecLink_T > m_vecSpecLinks
vector of link specs
HekSpecLink_T * getLinkSpecAt(int index)
Get link spec at the given index.
double m_fGearRatio
joint gear ratio
int m_nLinkParent
parent link index
<b><i>Hekateros</i></b> optical limit switches.
int getProdId()
Get specification's product id.
int m_nLinkChild
child link index
bool m_bIsContinuous
servo should [not] be configured in 360 mode
double m_fTorqueLimitPct
torque limit(%). Set to 0 for no limit
HekJointType
Supported joint types.
int m_eLimitTypes
joint limit types
std::string m_strName
link name
double m_fMinPhyLimit
joint minimum physical limit (degrees)
int m_eProdFamily
product family
int getNumServos()
Get specification's number of servos.
HekSpecJoint_T * getJointSpecAt(int index)
Get joint spec at the given index.
uint_t m_uHwVer
hardware version
HekSpecJoint_T operator=(const HekSpecJoint_T &rhs)
Assignment operator.
int m_nMasterServoId
master servo id
int m_nNumOptLimits
number of optical limits
number of supported joint types
double m_fParkedPos
joint parked position (degrees)
int m_nDir
normalize cw/ccw direction.
double m_fMaxPhyLimit
joint maximum physical limit (degrees)
Hekateros robotic manipulator full description class.
static const int HekOptLimitMaxPerJoint
max limits/joint
int m_nDoF
degrees of freedom
HekSpecServo_T * getServoSpecAt(int index)
Get servo spec at the given index.
int getProdFamily()
Get specification's product family id.
Top-level package include file.
electronic top dead center
int m_eJointType
joint type
unknown/undefined joint type
Robotic link specification.
int getNumLinks()
Get specification's number of links.
int m_nNumServos
number of servos
uint_t getProdHwVer()
Get specification's product hardware version number.
int getDoF()
Get specification's degrees of freedom.
int getNumOpticalLimits()
Get specification's number of optical limits.
Hekateros robotic manipulator plus accesories class.
Robotic joint specification.
mimic rotation (e.g. fingers)
Robotic servo specification.
std::vector< HekSpecServo_T > m_vecSpecServos
vector of servo specs
The <b><i>Hekateros</i></b> namespace encapsulates all <b><i>Hekateros</i></b> related constructs...