9 #ifndef C2DRangeFinderAbstract_H
10 #define C2DRangeFinderAbstract_H
58 mrpt::gui::CDisplayWindow3DPtr
m_win;
77 void loadCommonParams(
79 const std::string &iniSection );
104 void bindIO(
CStream *streamIO );
109 bool &outThereIsObservation,
111 bool &hardwareError );
118 virtual void doProcessSimple(
119 bool &outThereIsObservation,
121 bool &hardwareError ) = 0;
126 virtual bool turnOn() = 0;
131 virtual bool turnOff() = 0;
A generic interface for a wide-variety of sensors designed to be used in the application RawLogGrabbe...
A "CObservation"-derived class that represents a 2D range scan measurement (typically from a laser sc...
std::vector< std::pair< double, double > > m_lstExclusionAngles
A list of pairs of angles such as all sensor ranges falling in those forbiden angles will ...
This class provides simple critical sections functionality.
CObservation2DRangeScan m_lastObservation
Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.
CObservation2DRangeScanPtr m_nextObservation
A dynamic object used as buffer in doProcess.
std::vector< std::pair< mrpt::math::CPolygon, std::pair< double, double > > > TListExclusionAreasWithRanges
Used in filterByExclusionAreas.
utils::CStream * m_stream
The I/O channel (will be NULL if not bound).
mrpt::gui::CDisplayWindow3DPtr m_win
This namespace contains algorithms for SLAM, localization, map building, representation of robot's ac...
This class allows loading and storing values and vectors of different types from a configuration text...
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
void showPreview(bool enable=true)
Enables GUI visualization in real-time.
This is the base, abstract class for "software drivers" interfaces to 2D scanners (laser range finder...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
bool m_showPreview
If true, shows a 3D window with a preview of the grabber data.
CObservation2DRangeScan::TListExclusionAreasWithRanges m_lstExclusionPolys
A list of optional exclusion polygons, in coordinates relative to the vehicle, that is...
synch::CCriticalSection m_csLastObservation
This base class provides a common printf-like method to send debug information to std::cout...
bool m_lastObservationIsNew