
#include <Robots/LoBot/io/LoLRFData.H>
Public Member Functions | |
| Reading (int angle, int distance) | |
| Constructor. | |
| int | distance () const |
| Return the distance held by the reading. | |
| int | angle () const |
| Return the angle held by the reading. | |
| bool | operator< (const Reading &R) const |
| Operator to compare readings based on their distances. | |
This inner class encapsulates an LRF reading, viz., a distance measurement plus the angle at which that measurement was made.
Definition at line 137 of file LoLRFData.H.
| lobot::LRFData::Reading::Reading | ( | int | angle, | |
| int | distance | |||
| ) |
Constructor.
Definition at line 89 of file LoLRFData.C.
| int lobot::LRFData::Reading::angle | ( | ) | const [inline] |
Return the angle held by the reading.
Definition at line 150 of file LoLRFData.H.
| int lobot::LRFData::Reading::distance | ( | ) | const [inline] |
Return the distance held by the reading.
Definition at line 147 of file LoLRFData.H.
| bool lobot::LRFData::Reading::operator< | ( | const Reading & | R | ) | const [inline] |
Operator to compare readings based on their distances.
Definition at line 153 of file LoLRFData.H.
1.6.3