![]() |
Hekateros
3.4.3
RoadNarrows Robotics Robot Arm Project
|
Hekateros robotic manipulator full description class. More...
#include <hekDesc.h>
Public Member Functions | |
| HekDesc () | |
| ~HekDesc () | |
| void | setArmDesc (int eProdId, const std::string &strProdName="", const std::string &strProdBrief="", const std::string &strHwVer="1.0.0", int nDoF=0, int eProdSize=HekProdSizeUnknown) |
| void | setEEDesc (int eEEProdId, const std::string &strProdName="", const std::string &strProdBrief="", const std::string &strHwVer="1.0.0", int nDoF=0, int eProdSize=HekProdSizeUnknown) |
| void | resetDesc () |
| Reset Hekateros description to the "unitialized" values. | |
| int | markAsDescribed () |
| Mark Hekateros hardware as fully described. More... | |
| bool | isDescribed () |
| Test if required descriptions are described. More... | |
| HekDescArm * | getArmDesc () |
| Get the Hekateros base product description. More... | |
| HekDescEE * | getEEDesc () |
| Get the Hekateros end effector product description. More... | |
| int | getProdId () |
| Convenience function to get this Hekateros description's base product id. More... | |
| std::string | getFullProdBrief () |
| Get the Hekateros full brief descirption. More... | |
| bool | hasEndEffector () |
| Check if this Hekateros description has an end effector description. More... | |
| int | getDoF () |
| Get this Hekateros description's total degrees of freedom. More... | |
| int | getNumServos () |
| Get the number of expected and required servos. More... | |
| bool | hasServo (int nServoId) |
| Test if servo id is in the list of servos. More... | |
Protected Attributes | |
| bool | m_bIsDescribed |
| Hekateros is [not] fully described | |
| HekDescArm | m_descArm |
| Hekateros robotic arm | |
| HekDescEE | m_descEE |
| Hekateros end effector tool | |
| std::string | m_strFullBrief |
| product with accessories full brief | |
Friends | |
| class | HekRobot |
Hekateros robotic manipulator full description class.
The description is determined from the XML etc configuration file. From those description components, the compiled specifications are assigned.
|
inline |
|
inline |
Destructor.
Definition at line 89 of file hekDesc.h.
References hekateros::HekProdSizeUnknown, m_descArm, m_descEE, markAsDescribed(), and resetDesc().
|
inline |
Get the Hekateros base product description.
Definition at line 177 of file hekDesc.h.
References m_descArm.
Referenced by hekateros::HekRobot::getProdId(), hekateros::HekRobot::getProdName(), hekateros::HekRobot::getVersion(), hekateros::HekRobot::getVersionNum(), and hekateros::HekXmlCfg::setHekDescFromDOM().
|
inline |
Get this Hekateros description's total degrees of freedom.
Definition at line 228 of file hekDesc.h.
References hekateros::HekDescEE::getDoF(), hekateros::HekDescArm::getDoF(), m_descArm, and m_descEE.
|
inline |
Get the Hekateros end effector product description.
Definition at line 187 of file hekDesc.h.
References m_descEE.
Referenced by hekateros::HekXmlCfg::setHekDescFromDOM().
|
inline |
Get the Hekateros full brief descirption.
Definition at line 208 of file hekDesc.h.
References m_strFullBrief.
Referenced by hekateros::HekRobot::getFullProdBrief().
|
inline |
Get the number of expected and required servos.
Definition at line 238 of file hekDesc.h.
References hekateros::HekDescEE::getNumServos(), hekateros::HekDescArm::getNumServos(), hasServo(), m_descArm, and m_descEE.
|
inline |
Convenience function to get this Hekateros description's base product id.
Definition at line 198 of file hekDesc.h.
References hekateros::HekDescArm::getProdId(), and m_descArm.
|
inline |
Check if this Hekateros description has an end effector description.
Definition at line 218 of file hekDesc.h.
References hekateros::HekDescEE::getProdId(), hekateros::HekProdIdUnknown, and m_descEE.
| bool HekDesc::hasServo | ( | int | nServoId | ) |
Test if servo id is in the list of servos.
Definition at line 97 of file hekDesc.cxx.
Referenced by getNumServos().
|
inline |
Test if required descriptions are described.
Definition at line 165 of file hekDesc.h.
References hekateros::HekDescEE::getProdId(), hekateros::HekDescArm::getProdId(), hekateros::HekProdIdUnknown, m_bIsDescribed, m_descArm, and m_descEE.
Referenced by hekateros::HekRobot::isDescribed().
| int HekDesc::markAsDescribed | ( | ) |
Mark Hekateros hardware as fully described.
The calling application context determines this state.
Definition at line 74 of file hekDesc.cxx.
Referenced by ~HekDesc().