14 #include <mrpt/poses/CPose2D.h> 15 #include <mrpt/opengl/CPlanarLaserScan.h> 17 #include <mrpt/version.h> 18 #if MRPT_VERSION >= 0x130 19 #include <mrpt/obs/CObservation2DRangeScan.h> 20 using mrpt::obs::CObservation2DRangeScan;
22 #include <mrpt/slam/CObservation2DRangeScan.h> 23 using mrpt::slam::CObservation2DRangeScan;
24 using mrpt::slam::CObservation2DRangeScanPtr;
39 mrpt::opengl::COpenGLScene& scene);
61 mrpt::obs::CObservation2DRangeScan::Ptr
66 mrpt::opengl::CPlanarLaserScan::Ptr
m_gl_scan;
mrpt::poses::CPose2D m_sensor_pose_on_veh
LaserScanner(VehicleBase &parent, const rapidxml::xml_node< char > *root)
virtual void simul_post_timestep(const TSimulContext &context)
See docs in base class.
virtual void loadConfigFrom(const rapidxml::xml_node< char > *root)
See docs in base class.
std::string m_name
sensor label/name
mrpt::obs::CObservation2DRangeScan::Ptr m_last_scan
Last simulated scan.
virtual void gui_update(mrpt::opengl::COpenGLScene &scene)
See docs in base class.
CObservation2DRangeScan m_scan_model
or not (Default=true)
#define DECLARES_REGISTER_SENSOR(CLASS_NAME)
mrpt::obs::CObservation2DRangeScan::Ptr m_last_scan2gui
int m_z_order
to help rendering multiple scans
virtual void simul_pre_timestep(const TSimulContext &context)
See docs in base class.
mrpt::opengl::CPlanarLaserScan::Ptr m_gl_scan
call of gui_update() from m_last_scan2gui
std::mutex m_last_scan_cs