30 #define DEFAULT_SICK_PLS_SICK_BAUD (B500000) 31 #define DEFAULT_SICK_PLS_HOST_ADDRESS (0x80) 32 #define DEFAULT_SICK_PLS_SICK_ADDRESS (0x00) 33 #define DEFAULT_SICK_PLS_SICK_PASSWORD "SICK_PLS" 34 #define DEFAULT_SICK_PLS_SICK_MESSAGE_TIMEOUT (unsigned int)(20e6) 35 #define DEFAULT_SICK_PLS_SICK_SWITCH_MODE_TIMEOUT (unsigned int)(20e6) 36 #define DEFAULT_SICK_PLS_SICK_CONFIG_MESSAGE_TIMEOUT (unsigned int)(20e6) 37 #define DEFAULT_SICK_PLS_BYTE_INTERVAL (55) 38 //#define DEFAULT_SICK_PLS_BYTE_INTERVAL (0) 39 #define DEFAULT_SICK_PLS_NUM_TRIES (1) 200 SickPLS(
const std::string sick_device_path );
228 void GetSickScan(
unsigned int * const measurement_values,
229 unsigned int & num_measurement_values) throw( SickConfigException, SickTimeoutException, SickIOException, SickThreadException);
235 void ResetSick( ) throw( SickConfigException, SickTimeoutException, SickIOException, SickThreadException );
308 const
unsigned int timeout_value,
309 const
unsigned int num_tries ) throw( SickIOException, SickThreadException, SickTimeoutException );
314 const uint8_t reply_code,
315 const
unsigned int timeout_value,
316 const
unsigned int num_tries ) throw( SickIOException, SickThreadException, SickTimeoutException );
332 uint8_t * const error_type_buffer = NULL,
333 uint8_t * const error_num_buffer = NULL ) throw( SickTimeoutException, SickIOException, SickThreadException );
337 throw( SickConfigException, SickTimeoutException, SickIOException, SickThreadException);
341 throw( SickConfigException, SickTimeoutException, SickIOException, SickThreadException);
345 throw( SickConfigException, SickTimeoutException, SickIOException, SickThreadException);
349 throw( SickConfigException, SickTimeoutException, SickIOException, SickThreadException);
353 throw( SickConfigException, SickTimeoutException, SickIOException, SickThreadException);
360 void _extractSickMeasurementValues( const uint8_t * const byte_sequence, const uint16_t num_measurements, uint16_t * const measured_values) const;
Contains some simple exception classes.
Definition of class SickPLSMessage.
Defines the abstract parent class for defining a Sick LIDAR device driver.
Defines a class for monitoring the receive buffer when interfacing w/ a Sick PLS laser range finder...