A drawable for visualizing laser range finder data. More...
#include <Robots/LoBot/ui/LoLaserVizFlat.H>
Classes | |
class | Params |
Public Member Functions | |
LaserVizFlat (const LaserRangeFinder *) | |
Initialization. | |
~LaserVizFlat () | |
Clean-up. |
A drawable for visualizing laser range finder data.
This class uses OpenGL to visualize the Hokuyo laser range finder's distance measurements. Instead of the usual polar form in which LRF data is often visualized, this visualizer is used to "flattens" the LRF measurements and show them in Cartesian form as a kind of 2D line graph.
The x-axis of this graph is used for the angular directions supported by the LRF. The center of this axis is for zero degrees, or straight ahead, and the left and right of the axis's center are for angles to the left and right respectively.
The y-axis of the graph is used for the distance readings.
Definition at line 83 of file LoLaserVizFlat.H.
lobot::LaserVizFlat::LaserVizFlat | ( | const LaserRangeFinder * | lrf | ) |
Initialization.
Definition at line 75 of file LoLaserVizFlat.C.
lobot::LaserVizFlat::~LaserVizFlat | ( | ) |
Clean-up.
Definition at line 83 of file LoLaserVizFlat.C.