urg_utils.h
Go to the documentation of this file.
1 #ifndef URG_UTILS_H
2 #define URG_UTILS_H
3 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 #include "urg_c/urg_sensor.h"
23 
24 
41  extern const char *urg_error(const urg_t *urg);
42 
43 
68  extern void urg_distance_min_max(const urg_t *urg,
69  long *min_distance, long *max_distance);
70 
71 
98  extern void urg_step_min_max(const urg_t *urg, int *min_step, int *max_step);
99 
100 
102  extern long urg_scan_usec(const urg_t *urg);
103 
104 
106  extern int urg_max_data_size(const urg_t *urg);
107 
108 
138  extern double urg_index2rad(const urg_t *urg, int index);
139 
140 
142  extern double urg_index2deg(const urg_t *urg, int index);
143 
144 
146  extern int urg_rad2index(const urg_t *urg, double radian);
147 
148 
150  extern int urg_deg2index(const urg_t *urg, double degree);
151 
152 
171  extern int urg_rad2step(const urg_t *urg, double radian);
172 
173 
175  extern int urg_deg2step(const urg_t *urg, double degree);
176 
177 
179  extern double urg_step2rad(const urg_t *urg, int step);
180 
181 
183  extern double urg_step2deg(const urg_t *urg, int step);
184 
186  extern int urg_step2index(const urg_t *urg, int step);
187 
188 #ifdef __cplusplus
189 }
190 #endif
191 
192 #endif /* !URG_UTILS_H */
int urg_deg2step(const urg_t *urg, double degree)
Definition: urg_utils.c:176
double urg_step2deg(const urg_t *urg, int step)
Definition: urg_utils.c:192
double urg_step2rad(const urg_t *urg, int step)
Definition: urg_utils.c:182
int urg_rad2index(const urg_t *urg, double radian)
Definition: urg_utils.c:144
URG sensor.
Definition: urg_sensor.h:72
double urg_index2rad(const urg_t *urg, int index)
Definition: urg_utils.c:123
void urg_distance_min_max(const urg_t *urg, long *min_distance, long *max_distance)
Definition: urg_utils.c:73
long urg_scan_usec(const urg_t *urg)
Definition: urg_utils.c:104
URG sensor.
const char * urg_error(const urg_t *urg)
Definition: urg_utils.c:30
int urg_step2index(const urg_t *urg, int step)
Definition: urg_utils.c:198
int urg_rad2step(const urg_t *urg, double radian)
Definition: urg_utils.c:166
double urg_index2deg(const urg_t *urg, int index)
Definition: urg_utils.c:138
void urg_step_min_max(const urg_t *urg, int *min_step, int *max_step)
Definition: urg_utils.c:91
int urg_deg2index(const urg_t *urg, double degree)
Definition: urg_utils.c:160
int urg_max_data_size(const urg_t *urg)
Definition: urg_utils.c:114


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