Set product fixed specification.
113 LOGWARN(
"Unsupported 4L v%u.%u.%u, defaulting to v1.1 specs.",
119 LOGDIAG3(
"Hekateros 4L v%u.%u.%u specification loaded.",
171 LOGWARN(
"Unsupported 5L v%u.%u.%u, defaulting to v1.3 specs.",
177 LOGDIAG3(
"Hekateros 5L v%u.%u.%u specification loaded.",
204 LOGWARN(
"Unsupported Graboid EE v%u.%u.%u, " 205 "defaulting to v1.1 specs.",
211 LOGDIAG3(
"Graboid EE v%u.%u.%u specification loaded.",
217 LOGERROR(
"0x%08x: Unknown or unsupported product id.", eProdId);
221 if( pSpecLinks != NULL )
229 if( pSpecJoints != NULL )
237 if( pSpecServos != NULL )
const int HekProdArm5LBetaId
product id
#define HEK_VER_REV(ver)
Get revision number from version.
const HekSpecLink_T HekProdArm4LSpecLinks[]
Specification of links.
const HekSpecServo_T HekProdArm5LSpecServos_1_3[]
Specification of servos, v1.3.
const int HekProdArm5LNumOptLimits
number of optical limits
const HekSpecServo_T HekProdArm4LSpecServos_1_1[]
Specification of servos, v1.1.
static const int HEK_OK
not an error, success
int m_nNumLinks
number of links
const HekSpecJoint_T HekProdArm5LSpecJoints_1_1[]
Specification of joints, v1.1.
const int HekProdEEGraboidId
prod id
const HekSpecLink_T HekProdEEGraboidSpecLinks[]
Specification of links.
std::vector< HekSpecJoint_T > m_vecSpecJoints
vector of joint specs
std::vector< HekSpecLink_T > m_vecSpecLinks
vector of link specs
const HekSpecServo_T HekProdEEGraboidSpecServos_1_1[]
Specification of servos, v1.1.
const int HekProdEEGraboidNumServos
number of servos
const int HekProdArm4LNumLinks
number of fixed links
const int HekProdArm5LNumServos
number of servos
#define HEK_VER_MAJOR(ver)
Get version major number from version.
const int HekProdArm4LId
product id
const int HekProdEEGraboidDoF
degrees of freedom
const HekSpecServo_T HekProdArm5LSpecServos_1_3_5[]
Specification of servos, v1.4.
const HekSpecJoint_T HekProdArm5LSpecJoints_2_0[]
Specification of joints, v2.0.
const int HekProdArm5LNumLinks
number of fixed links
void clear()
Clear product fixed specification.
const HekSpecJoint_T HekProdArm5LSpecJoints_1_3[]
Specification of joints, v1.3.
#define HEK_ARM_FAMILY
only 1 family of arm products so define here
const int HekProdArm4LDoF
degrees of freedom
int m_eProdFamily
product family
const HekSpecLink_T HekProdArm5LSpecLinks[]
Specification of links.
const HekSpecServo_T HekProdArm5LSpecServos_1_1[]
Specification of servos, v1.1.
const int HekProdArm4LNumServos
number of servos
const HekSpecJoint_T HekProdEEGraboidSpecJoints_1_0[]
Specification of joints, v1.0.
uint_t m_uHwVer
hardware version
const int HekProdEEGraboidNumLinks
number of fixed links
int m_nNumOptLimits
number of optical limits
const HekSpecJoint_T HekProdArm5LSpecJoints_1_3_5[]
Specification of joints, v1.3.5.
const int HekProdEEGraboidNumOptLimits
number of optical limits
int m_nDoF
degrees of freedom
const int HekProdArm4LNumOptLimits
number of optical limits
#define HEK_VER_MINOR(ver)
Get version minor number from version.
Robotic link specification.
const int HekProdEEGraboidFamily
family
const HekSpecJoint_T HekProdArm5LSpecJoints_1_4[]
Specification of joints, v1.4.
const HekSpecJoint_T HekProdArm4LSpecJoints_1_1[]
Specification of joints, v1.1.
const HekSpecServo_T HekProdEEGraboidSpecServos_1_0[]
Specification of servos, v1.0.
const HekSpecServo_T HekProdArm5LSpecServos_2_0[]
Specification of servos, v2.0.
int m_nNumServos
number of servos
const HekSpecJoint_T HekProdEEGraboidSpecJoints_1_1[]
Specification of joints, v1.1.
#define HEK_VERSION(major, minor, revision)
Convert version triplet to integer equivalent.
const int HekProdArm5LId
product id
const int HekProdArm5LDoF
degrees of freedom
static const int HEK_ECODE_BAD_VAL
bad value general error
Robotic joint specification.
const HekSpecServo_T HekProdArm5LSpecServos_1_4[]
Specification of servos, v1.4.
const int HekProdArm5SId
product id
Robotic servo specification.
const HekSpecServo_T HekProdArm5LSpecServos_1_2[]
Specification of servos, v1.2.
std::vector< HekSpecServo_T > m_vecSpecServos
vector of servo specs
const HekSpecJoint_T HekProdArm5LSpecJoints_1_2[]
Specification of joints, v1.2.
const int HekProdArm4SId
product id