22 #include <sys/ioctl.h>    47     const uint8_t sick_response_header[4] = {0x02,
'U',
'S',
'P'};
    51     uint32_t payload_length = 0;
    56       for (
unsigned int i = 0; i < 
sizeof(sick_response_header);) {
    62         if (byte_buffer == sick_response_header[i]) {
    72       memcpy(message_buffer,sick_response_header,4);
    78       memcpy(&payload_length,&message_buffer[4],4);
   100       if (sick_message.GetChecksum() != checksum) {
   112       sick_message.Clear(); 
 #define DEFAULT_SICK_BYTE_TIMEOUT
Max allowable time between consecutive bytes. 
Contains some simple exception classes. 
Defines a class for monitoring the receive buffer when interfacing w/ a Sick LMS LIDAR. 
Defines simple utility functions for working with the Sick LD. 
Defines the class SickLDMessage.