![]() |
Laelaps
2.3.5
RoadNarrows Robotics Small Outdoor Mobile Robot Project
|
Robotic base platform description. More...
#include <laeDesc.h>
Public Member Functions | |
| LaeDescBase () | |
| Default constructor. | |
| virtual | ~LaeDescBase () |
| Destructor. | |
| LaeDescBase | operator= (const LaeDescBase &rhs) |
| Assignment operator. More... | |
| void | clear () |
| Clear description. | |
| void | calcDimensions (double fTireRadius, double fTireWidth) |
| Calculate robot dimensions. More... | |
| virtual void | print (int indent=0) |
| Print out description to stdout. More... | |
Public Attributes | |
| std::string | m_strKey |
| base name | |
| Dim | m_dimRobot |
| robot full dimensions(m) | |
| Dim | m_dimBody |
| body dimensions(m) | |
| double | m_fWheelbase |
| wheelbase(m) | |
| double | m_fWheeltrack |
| wheeltrack(m) | |
| int | m_nNumMotorCtlrs |
| number of motor controllers | |
| int | m_nNumMotors |
| number of motors | |
Robotic base platform description.
A base includes the body, suspension, power supply, and fixed interfaces.
| void LaeDescBase::calcDimensions | ( | double | fTireRadius, |
| double | fTireWidth | ||
| ) |
Calculate robot dimensions.
| fTireRadius | Tire radius (meters). |
| fTireWidth | Tire width (meters). |
Definition at line 140 of file laeDesc.cxx.
References LaeDimFrontBumper, LaeDimWheelShaftOffset, m_dimBody, m_dimRobot, m_fWheelbase, m_fWheeltrack, laelaps::Dim::m_height, laelaps::Dim::m_length, and laelaps::Dim::m_width.
Referenced by laelaps::LaePlatform::configure(), and LaeDescBase().
| LaeDescBase LaeDescBase::operator= | ( | const LaeDescBase & | rhs | ) |
Assignment operator.
| rhs | Right hand side object. |
Definition at line 116 of file laeDesc.cxx.
References m_dimBody, m_dimRobot, m_fWheelbase, m_fWheeltrack, m_nNumMotorCtlrs, m_nNumMotors, and m_strKey.
|
virtual |
Print out description to stdout.
| indent | Left indentation. |
Definition at line 172 of file laeDesc.cxx.
References m_dimBody, m_dimRobot, m_fWheelbase, m_fWheeltrack, laelaps::Dim::m_height, laelaps::Dim::m_length, m_nNumMotorCtlrs, m_nNumMotors, m_strKey, and laelaps::Dim::m_width.
Referenced by laelaps::LaeDesc::getProdHwVer(), and laelaps::LaeDesc::print().