Public Member Functions | |
RangeFinder (OptionManager &mgr, const std::string &descrName="RangeFinder", const std::string &tagName="RangeFinder", const char *defdev="/dev/ttyACM0") | |
Default constructor; see ModelComponent.H. | |
~RangeFinder () | |
Destructor. | |
std::vector< int > | getRangeData () |
void | readRangeData () |
void | readUTMRangeData () |
Protected Attributes | |
nub::soft_ref< Serial > | itsPort |
Serial port to use. | |
std::vector< int > | itsRangeData |
Definition at line 47 of file RangeFinder.H.
RangeFinder::RangeFinder | ( | OptionManager & | mgr, | |
const std::string & | descrName = "RangeFinder" , |
|||
const std::string & | tagName = "RangeFinder" , |
|||
const char * | defdev = "/dev/ttyACM0" | |||
) |
Default constructor; see ModelComponent.H.
Definition at line 45 of file RangeFinder.C.
References ModelComponent::addSubComponent(), and itsPort.
RangeFinder::~RangeFinder | ( | ) |
Destructor.
Definition at line 60 of file RangeFinder.C.
nub::soft_ref<Serial> RangeFinder::itsPort [protected] |