62 #include "rnr/rnrconfig.h" 75 KuonDescBase::KuonDescBase() :
82 void KuonDescBase::setDesc(
int eProdId,
83 const string &strProdName,
84 const string &strProdBrief,
85 const string &strHwVer,
86 double fFrontTireRadius,
87 double fRearTireRadius)
115 return "Kuon-Standard";
117 return "Kuon-Narrow";
128 return "RoadNarrows Kuon Standard robotic mobile platform";
130 return "RoadNarrows Kuon Narrow robotic mobile platform";
std::string m_strProdHwVer
product hardware version string
std::string getProdName()
Get this base description's name.
KuonSpec m_spec
fixed specification
Aggregagte of supported Kuon robotic mobile bases static specifications.
static const int KuonProdIdUnknown
unknown/undefined product id
uint_t strToVersion(const std::string &str)
Convert version dotted string to integer equivalent.
Kuon robotic base mobile platform description class interface.
The <b><i>Kuon</i></b> namespace encapsulates all <b><i>Kuon</i></b> related constructs.
<b><i>Kuon</i></b> product specification base classes.
RoadNarrows Kuon robot top-level header file.
std::string m_strProdName
product name
static const int KuonProdIdNarrow
narrow Kuon product id
void resetDesc()
Reset base description to the "unitialized" values.
uint_t m_uProdHwVer
product hardware version number
void clear()
Clear product fixed specification.
int m_eProdId
base product id
std::string m_strProdBrief
product brief
std::string getProdBrief()
Get this base description's brief.
static const int KuonProdIdStd
standard Kuon product id
const char *const KuonProdFamily
product family name
int set(int eProdId, uint_t uHwVer, double fFrontTireRadius, double fRearTireRadius)
Set product fixed specification.