104 char return_buffer[80];
148 const char *device_or_address,
149 long baudrate_or_port);
258 int scan_times,
int skip_scan);
298 extern int urg_get_distance(
urg_t *urg,
long data[],
long *time_stamp,
unsigned long long *system_time_stamp);
337 unsigned short intensity[],
338 long *time_stamp,
unsigned long long *system_time_stamp);
387 extern int urg_get_multiecho(
urg_t *urg,
long data_multi[],
long *time_stamp,
unsigned long long *system_time_stamp);
425 unsigned short intensity_multi[],
426 long *time_stamp,
unsigned long long *system_time_stamp);
506 int last_step,
int skip_step);
530 urg_range_data_byte_t data_byte);
const char * urg_sensor_firmware_version(urg_t *urg)
const char * urg_sensor_vendor(urg_t *urg)
returns the vendor name
urg_error_handler error_handler
const char * urg_sensor_firmware_date(urg_t *urg)
int urg_is_stable(urg_t *urg)
int scanning_remain_times
int urg_stop_measurement(urg_t *urg)
long urg_scip_decode(const char data[], int size)
SCIP 文字列のデコード.
void urg_set_timeout_msec(urg_t *urg, int msec)
タイムアウト時間の設定
urg_connection_t connection
int urg_start_measurement(urg_t *urg, urg_measurement_type_t type, int scan_times, int skip_scan)
int urg_start_time_stamp_mode(urg_t *urg)
void urg_wakeup(urg_t *urg)
long urg_time_stamp(urg_t *urg)
int urg_laser_on(urg_t *urg)
void urg_close(urg_t *urg)
int urg_set_scanning_parameter(urg_t *urg, int first_step, int last_step, int skip_step)
urg_connection_type_t
通信タイプ
urg_range_data_byte_t range_data_byte
const char * urg_sensor_status(urg_t *urg)
urg_measurement_type_t(* urg_error_handler)(const char *status, void *urg)
int urg_laser_off(urg_t *urg)
int urg_get_multiecho(urg_t *urg, long data_multi[], long *time_stamp, unsigned long long *system_time_stamp)
const char * urg_sensor_product_type(urg_t *urg)
void urg_set_error_handler(urg_t *urg, urg_error_handler handler)
int urg_get_distance_intensity(urg_t *urg, long data[], unsigned short intensity[], long *time_stamp, unsigned long long *system_time_stamp)
int urg_set_communication_data_size(urg_t *urg, urg_range_data_byte_t data_byte)
int urg_get_distance(urg_t *urg, long data[], long *time_stamp, unsigned long long *system_time_stamp)
int urg_get_multiecho_intensity(urg_t *urg, long data_multi[], unsigned short intensity_multi[], long *time_stamp, unsigned long long *system_time_stamp)
const char * urg_sensor_state(urg_t *urg)
urg_range_data_byte_t received_range_data_byte
const char * urg_sensor_protocol_version(urg_t *urg)
returns the protocol version
void urg_sleep(urg_t *urg)
const char * urg_sensor_serial_id(urg_t *urg)
int urg_reboot(urg_t *urg)
int urg_stop_time_stamp_mode(urg_t *urg)
int urg_open(urg_t *urg, urg_connection_type_t connection_type, const char *device_or_address, long baudrate_or_port)