9 #ifndef CSickLaserUSB_H 10 #define CSickLaserUSB_H 81 std::vector<float>& ranges,
unsigned char& LMS_status,
82 uint32_t& out_board_timestamp,
bool& is_mm_mode);
113 bool& outThereIsObservation,
115 bool& hardwareError);
void doProcessSimple(bool &outThereIsObservation, mrpt::obs::CObservation2DRangeScan &outObservation, bool &hardwareError)
Specific laser scanner "software drivers" must process here new data from the I/O stream...
virtual ~CSickLaserUSB()
Destructor.
void setDeviceSerialNumber(const std::string &deviceSerialNumber)
Changes the serial number of the device to open (call prior to 'doProcess')
uint32_t m_timeStartUI
Time of the first data packet, for synchronization purposes.
This "software driver" implements the communication protocol for interfacing a SICK LMS2XX laser scan...
Contains classes for various device interfaces.
bool turnOn()
Enables the scanning mode (in this class this has no effect).
mrpt::Clock::time_point TTimeStamp
A system independent time type, it holds the the number of 100-nanosecond intervals since January 1...
CSickLaserUSB()
Constructor.
This class allows loading and storing values and vectors of different types from a configuration text...
bool checkControllerIsConnected()
mrpt::comms::CInterfaceFTDI * m_usbConnection
GLsizei const GLchar ** string
#define DEFINE_GENERIC_SENSOR(class_name)
This declaration must be inserted in all CGenericSensor classes definition, within the class declarat...
This is the base, abstract class for "software drivers" interfaces to 2D scanners (laser range finder...
A "CObservation"-derived class that represents a 2D range scan measurement (typically from a laser sc...
A definition of a CStream actually representing a USB connection to a FTDI chip.
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
bool turnOff()
Disables the scanning mode (in this class this has no effect).
poses::CPose3D m_sensorPose
The sensor 6D pose:
bool waitContinuousSampleFrame(std::vector< float > &ranges, unsigned char &LMS_status, uint32_t &out_board_timestamp, bool &is_mm_mode)
unsigned __int32 uint32_t
std::string m_serialNumber
void loadConfig_sensorSpecific(const mrpt::config::CConfigFileBase &configSource, const std::string &iniSection)
See the class documentation at the top for expected parameters.
mrpt::system::TTimeStamp m_timeStartTT