9 #ifndef CSickLaserUSB_H 10 #define CSickLaserUSB_H 83 std::vector<float>& ranges,
unsigned char& LMS_status,
84 uint32_t& out_board_timestamp,
bool& is_mm_mode);
115 bool& outThereIsObservation,
117 bool& hardwareError);
uint64_t TTimeStamp
A system independent time type, it holds the the number of 100-nanosecond intervals since January 1...
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...
bool turnOn()
Enables the scanning mode (in this class this has no effect).
This class allows loading and storing values and vectors of different types from a configuration text...
CSickLaserUSB()
Constructor.
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...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
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:
void loadConfig_sensorSpecific(const mrpt::utils::CConfigFileBase &configSource, const std::string &iniSection)
See the class documentation at the top for expected parameters.
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
mrpt::system::TTimeStamp m_timeStartTT