Go to the source code of this file.
#define ACK 0x06 |
Definition at line 30 of file sick.h.
Referenced by sick_request_lms_config(), sick_set_config_mode(), sick_set_laser_baudrate(), sick_set_lms_config(), sick_set_lms_resolution(), sick_start_continuous_mode(), sick_stop_continuous_mode(), and sick_write_command().
#define BUFFER_SIZE 16000 |
Definition at line 13 of file sick.h.
Referenced by sick_read_data(), sick_set_lms_range(), and sick_testBaudrate().
#define CRC16_GEN_POL0 0x80 |
#define CRC16_GEN_POL1 0x05 |
#define DLE 0x10 |
#define INI -1 |
#define LASER_BUFFER_SIZE 100000 |
#define LID 0x80 |
#define LMS_PASSWORD "SICK_LMS" |
#define MAX_COMMAND_SIZE 8196 |
Definition at line 14 of file sick.h.
Referenced by sick_set_config_mode(), and sick_write_command().
#define MAX_NAME_LENGTH 256 |
#define MAX_TIME_FOR_CONFIG 3.0 |
#define MAX_TIME_FOR_GETTING_CONF 0.3 |
#define MAX_TIME_FOR_TESTING_BAUDRATE 1.0 |
#define NAK 0x15 |
#define PLS_PASSWORD "SICK_PLS" |
#define RAW 1 |
#define RES_0_50_DEGREE 1 |
Definition at line 36 of file sick.h.
Referenced by sick_set_lms_resolution(), sick_start_continuous_mode(), and sick_start_laser().
#define RES_1_00_DEGREE 0 |
Definition at line 35 of file sick.h.
Referenced by initializeLaser(), sick_set_lms_resolution(), sick_start_continuous_mode(), and sick_start_laser().
#define STX 0x02 |
Definition at line 28 of file sick.h.
Referenced by RFlex::readData(), RFlex::sendCommand(), sick_read_data(), and sick_write_command().
#define TIO 0 |
#define TIOCGETP 0x5481 |
#define TIOCSETP 0x5482 |
#define UKN 0x05 |
typedef struct laser_device_t * laser_device_p |
typedef struct sick_laser_t * sick_laser_p |
enum laser_model_t |
enum range_dist_t |
enum range_res_t |
void sick_handle_laser | ( | sick_laser_p | laser | ) |
Definition at line 808 of file sick.c.
References sick_laser_t::buffer, sick_laser_t::buffer_position, carmen_serial_numChars(), carmen_serial_readn(), sick_laser_t::dev, laser_device_t::fd, laser, LASER_BUFFER_SIZE, sick_laser_t::new_reading, sick_laser_t::packet_length, sick_laser_t::packet_offset, sick_laser_t::processed_mark, sick_process_packet(), and sick_valid_packet().
Referenced by main().
int sick_start_laser | ( | sick_laser_p | laser | ) |
Definition at line 656 of file sick.c.
References laser_settings_t::angle_range, laser_settings_t::angle_resolution, laser_settings_t::detect_baudrate, laser, LMS, PLS, RES_0_50_DEGREE, RES_1_00_DEGREE, laser_settings_t::set_baudrate, sick_laser_t::settings, sick_check_baudrate(), sick_connect_device(), sick_detect_baudrate(), sick_set_baudrate(), sick_set_config_mode(), sick_set_laser_baudrate(), sick_set_lms_range(), sick_set_lms_resolution(), sick_start_continuous_mode(), laser_settings_t::start_baudrate, and laser_settings_t::type.
Referenced by initializeLaser().
void sick_stop_laser | ( | sick_laser_p | laser | ) |
Definition at line 849 of file sick.c.
References sick_laser_t::dev, laser_device_t::fd, laser, and sick_stop_continuous_mode().
Referenced by main().