![]() |
Laelaps
2.3.5
RoadNarrows Robotics Small Outdoor Mobile Robot Project
|
Range sensor description. More...
#include <laeDesc.h>
Public Member Functions | |
LaeDescRangeSensor () | |
Default constructor. | |
LaeDescRangeSensor (const std::string &strKey) | |
Initialization constructor. | |
virtual | ~LaeDescRangeSensor () |
Destructor. | |
LaeDescRangeSensor | operator= (const LaeDescRangeSensor &rhs) |
Assignment operator. More... | |
void | clear () |
Clear description. | |
virtual void | print (int indent=0) |
Print out description to stdout. More... | |
Public Attributes | |
std::string | m_strKey |
range sensor key | |
int | m_nChan |
channel number | |
double | m_fDir |
sensor direction (radians) | |
double | m_fDeadzone |
deadzone (meters) | |
std::string | m_strDesc |
short description string | |
Protected Member Functions | |
virtual void | makeDesc () |
Make sensor description string from description. | |
LaeDescRangeSensor LaeDescRangeSensor::operator= | ( | const LaeDescRangeSensor & | rhs | ) |
Assignment operator.
rhs | Right hand side object. |
Definition at line 432 of file laeDesc.cxx.
References m_fDeadzone, m_fDir, m_nChan, laelaps::LaeDescBattery::m_strKey, and m_strKey.
|
virtual |
Print out description to stdout.
indent | Left indentation. |
Definition at line 450 of file laeDesc.cxx.
References laelaps::LaeDescBattery::m_strKey, and laelaps::radToDeg().