28 #ifndef CSickLaserSerial_H
29 #define CSickLaserSerial_H
85 bool tryToOpenComms(std::string *err_msg=NULL);
86 bool waitContinuousSampleFrame( std::vector<float> &ranges,
unsigned char &LMS_status,
bool &is_mm_mode );
89 bool LMS_setupSerialComms();
90 bool LMS_setupBaudrate(
int baud);
91 bool LMS_statusQuery();
92 bool LMS_waitACK(uint16_t timeout_ms);
93 bool LMS_waitIncomingFrame(uint16_t timeout);
94 bool LMS_sendMeasuringMode_cm_mm();
95 bool LMS_startContinuousMode();
96 bool LMS_endContinuousMode();
98 bool SendCommandToSICK(
const uint8_t *cmd,
const uint16_t cmd_len);
100 uint8_t m_received_frame_buffer[2000];
112 void loadConfig_sensorSpecific(
114 const std::string &iniSection );
135 m_com_baudRate = baud;
149 void setScanFOV(
int fov_degrees) { m_scans_FOV = fov_degrees; }
165 void doProcessSimple(
166 bool &outThereIsObservation,
168 bool &hardwareError );