![]() |
Kuon
1.1.3
RoadNarrows Robotics Large Outdoor Mobile Robot Project
|
Kuon robotic manipulator full description class. More...
#include <kuonDesc.h>
Public Member Functions | |
| KuonDesc () | |
| ~KuonDesc () | |
| void | setDesc (int eProdId, const std::string &strProdName="", const std::string &strProdBrief="", const std::string &strHwVer="1.0.0", double fFrontTireRadius=0.0, double fRearTireRadius=0.0) |
| void | resetDesc () |
| Reset Kuon description to the "unitialized" values. | |
| int | markAsDescribed () |
| Mark Kuon hardware as fully described. More... | |
| bool | isDescribed () |
| Test if required descriptions are described. More... | |
| KuonDescBase * | getBaseDesc () |
| Get the Kuon base product description. More... | |
| int | getProdId () |
| Convenience function to get this Kuon description's base product id. More... | |
| std::string | getFullProdBrief () |
| Get the Kuon full brief descirption. More... | |
| int | getNumMotors () |
| Get the number of expected and required motors. More... | |
| bool | hasMotor (int nMotorId) |
| Test if motor id is in the list of motors. More... | |
Protected Attributes | |
| bool | m_bIsDescribed |
| Kuon is [not] fully described | |
| KuonDescBase | m_descBase |
| Kuon robotic arm | |
| std::string | m_strFullBrief |
| product with payload full brief | |
Friends | |
| class | KuonRobot |
Kuon robotic manipulator full description class.
The description is determined from the XML etc configuration file. From those description components, the compiled specifications are assigned.
Definition at line 83 of file kuonDesc.h.
|
inline |
|
inline |
Destructor.
Definition at line 97 of file kuonDesc.h.
References m_descBase, markAsDescribed(), and resetDesc().
|
inline |
Get the Kuon base product description.
Definition at line 156 of file kuonDesc.h.
References m_descBase.
Referenced by kuon::KuonRobot::getProdId(), kuon::KuonRobot::getProdName(), kuon::KuonRobot::getVersion(), and kuon::KuonXmlCfg::setKuonDescFromDOM().
|
inline |
Get the Kuon full brief descirption.
Definition at line 177 of file kuonDesc.h.
References m_strFullBrief.
Referenced by kuon::KuonRobot::getFullProdBrief().
|
inline |
Get the number of expected and required motors.
Definition at line 187 of file kuonDesc.h.
References kuon::KuonDescBase::getNumMotors(), and m_descBase.
|
inline |
Convenience function to get this Kuon description's base product id.
Definition at line 167 of file kuonDesc.h.
References kuon::KuonDescBase::getProdId(), and m_descBase.
|
inline |
Test if motor id is in the list of motors.
Definition at line 197 of file kuonDesc.h.
References kuon::KuonSpec::hasMotor(), m_descBase, and kuon::KuonDescBase::m_spec.
|
inline |
Test if required descriptions are described.
Definition at line 145 of file kuonDesc.h.
References kuon::KuonDescBase::getProdId(), kuon::KuonProdIdUnknown, m_bIsDescribed, and m_descBase.
Referenced by kuon::KuonRobot::isDescribed().
| int KuonDesc::markAsDescribed | ( | ) |
Mark Kuon hardware as fully described.
The calling application context determines this state.
Definition at line 76 of file kuonDesc.cxx.
References kuon::KUON_ECODE_BAD_OP, and kuon::KUON_OK.
Referenced by ~KuonDesc().