17 #ifndef SICK_LMS_1XX_HH 18 #define SICK_LMS_1XX_HH 21 #define DEFAULT_SICK_LMS_1XX_IP_ADDRESS "192.168.0.1" 22 #define DEFAULT_SICK_LMS_1XX_TCP_PORT (2111) 23 #define DEFAULT_SICK_LMS_1XX_CONNECT_TIMEOUT (1000000) 24 #define DEFAULT_SICK_LMS_1XX_MESSAGE_TIMEOUT (5000000) 25 #define DEFAULT_SICK_LMS_1XX_STATUS_TIMEOUT (60000000) 27 #define SICK_LMS_1XX_SCAN_AREA_MIN_ANGLE (-450000) 28 #define SICK_LMS_1XX_SCAN_AREA_MAX_ANGLE (2250000) 32 #include <arpa/inet.h> 145 unsigned int * const range_2_vals,
146 unsigned int * const reflect_1_vals,
147 unsigned int * const reflect_2_vals,
148 unsigned int & num_measurements,
149 unsigned int * const dev_status = NULL ) throw ( SickIOException,
SickConfigException, SickTimeoutException );
152 void Uninitialize( const
bool disp_banner = true ) throw( SickIOException, SickTimeoutException, SickErrorException, SickThreadException );
229 const
int start_angle, const
int stop_angle ) throw( SickTimeoutException, SickIOException, SickErrorException );
235 void _writeToEEPROM( ) throw( SickTimeoutException, SickIOException );
243 const
std::
string reply_command_code,
244 const
std::
string reply_command,
246 const
unsigned int num_tries = 1 ) throw( SickIOException, SickTimeoutException );
252 void _startMeasuring( ) throw ( SickTimeoutException, SickIOException );
255 void _stopMeasuring( ) throw ( SickTimeoutException, SickIOException );
276 bool _validScanArea( const
int start_angle, const
int stop_angle ) const;
300 bool _findSubString(
const char *
const str,
const char *
const substr,
const unsigned int str_length,
const unsigned int substr_length,
301 unsigned int &substr_pos,
unsigned int start_pos = 0 )
const;
304 char *
_convertNextTokenToUInt(
char *
const str_buffer,
unsigned int & num_val,
const char *
const delimeter =
" " )
const;
Contains some simple exception classes.
Defines a class for monitoring the receive buffer when interfacing w/ a Sick LMS 1xx laser range find...
#define DEFAULT_SICK_LMS_1XX_TCP_PORT
Sick LMS 1xx TCP/IP Port.
#define DEFAULT_SICK_LMS_1XX_MESSAGE_TIMEOUT
Max time for reply (usecs)
#define DEFAULT_SICK_LMS_1XX_IP_ADDRESS
Default IP Address.
#define DEFAULT_SICK_LMS_1XX_STATUS_TIMEOUT
Max time it should take to change status.
Defines the abstract parent class for defining a Sick LIDAR device driver.