urg_debug.c
Go to the documentation of this file.
1 
10 #include "urg_c/urg_debug.h"
11 
12 
13 int urg_raw_write(urg_t *urg, const char *data, int data_size)
14 {
15  return connection_write(&urg->connection, data, data_size);
16 }
17 
18 
19 int urg_raw_read(urg_t *urg, char *data, int max_data_size, int timeout)
20 {
21  return connection_read(&urg->connection, data, max_data_size, timeout);
22 }
23 
24 
25 int urg_raw_readline(urg_t *urg, char *data, int max_data_size, int timeout)
26 {
27  return connection_readline(&urg->connection, data, max_data_size, timeout);
28 }
urg_t
URG sensor.
Definition: urg_sensor.h:72
urg_debug.h
URG debugging functions.
urg_raw_read
int urg_raw_read(urg_t *urg, char *data, int max_data_size, int timeout)
Definition: urg_debug.c:19
urg_t::connection
urg_connection_t connection
Definition: urg_sensor.h:76
connection_readline
int connection_readline(urg_connection_t *connection, char *data, int max_size, int timeout)
改行文字までの受信
Definition: urg_connection.c:95
urg_raw_write
int urg_raw_write(urg_t *urg, const char *data, int data_size)
Definition: urg_debug.c:13
urg_raw_readline
int urg_raw_readline(urg_t *urg, char *data, int max_data_size, int timeout)
Definition: urg_debug.c:25
connection_read
int connection_read(urg_connection_t *connection, char *data, int max_size, int timeout)
受信
Definition: urg_connection.c:80
connection_write
int connection_write(urg_connection_t *connection, const char *data, int size)
送信
Definition: urg_connection.c:65


urg_c
Author(s): Satofumi Kamimura , Katsumi Kimoto, Adrian Boeing
autogenerated on Wed Mar 2 2022 01:08:11