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_t
URG sensor.
Definition: urg_sensor.h:72
urg_sensor.h
URG sensor.
open_urg_sensor.h
urg_utils.h
URG sensor utility.
main
int main(int argc, char *argv[])
Definition: reboot_test.c:15
open_urg_sensor
int open_urg_sensor(urg_t *urg, int argc, char *argv[])
Definition: open_urg_sensor.c:18
urg_reboot
int urg_reboot(urg_t *urg)
Definition: urg_sensor.c:1076


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