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 }
int connection_readline(urg_connection_t *connection, char *data, int max_size, int timeout)
改行文字までの受信
urg_connection_t connection
Definition: urg_sensor.h:76
URG debugging functions.
URG sensor.
Definition: urg_sensor.h:72
int urg_raw_readline(urg_t *urg, char *data, int max_data_size, int timeout)
Definition: urg_debug.c:25
int connection_write(urg_connection_t *connection, const char *data, int size)
送信
int connection_read(urg_connection_t *connection, char *data, int max_size, int timeout)
受信
int urg_raw_read(urg_t *urg, char *data, int max_data_size, int timeout)
Definition: urg_debug.c:19
int urg_raw_write(urg_t *urg, const char *data, int data_size)
Definition: urg_debug.c:13


urg_c
Author(s): Satofumi Kamimura , Katsumi Kimoto, Adrian Boeing
autogenerated on Wed Jun 10 2020 03:48:10