reboot_test.c
Go to the documentation of this file.
1 
9 #include "urg_c/urg_sensor.h"
10 #include "urg_c/urg_utils.h"
11 #include "open_urg_sensor.h"
12 #include <stdio.h>
13 
14 
15 int main(int argc, char *argv[])
16 {
17  enum { DATA_SIZE = 1081 };
18  urg_t urg;
19 
20  if (open_urg_sensor(&urg, argc, argv) < 0) {
21  return 1;
22  }
23 
24  urg_reboot(&urg);
25 
26  return 0;
27 }
URG sensor.
Definition: urg_sensor.h:72
URG sensor.
int open_urg_sensor(urg_t *urg, int argc, char *argv[])
int main(int argc, char *argv[])
Definition: reboot_test.c:15
URG sensor utility.
int urg_reboot(urg_t *urg)
Definition: urg_sensor.c:1076


urg_c
Author(s): Satofumi Kamimura , Katsumi Kimoto, Adrian Boeing
autogenerated on Thu Jun 6 2019 19:27:49