Main Page
Related Pages
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Pages
include
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_sensor.h
"
23
24
52
extern
const
char
*
urg_error
(
const
urg_t
*urg);
53
54
91
extern
void
urg_distance_min_max
(
const
urg_t
*urg,
92
long
*min_distance,
long
*max_distance);
93
94
143
extern
void
urg_step_min_max
(
const
urg_t
*urg,
int
*min_step,
int
*max_step);
144
145
153
extern
long
urg_scan_usec
(
const
urg_t
*urg);
154
155
163
extern
int
urg_max_data_size
(
const
urg_t
*urg);
164
165
216
extern
double
urg_index2rad
(
const
urg_t
*urg,
int
index);
217
218
226
extern
double
urg_index2deg
(
const
urg_t
*urg,
int
index);
227
228
236
extern
int
urg_rad2index
(
const
urg_t
*urg,
double
radian);
237
238
246
extern
int
urg_deg2index
(
const
urg_t
*urg,
double
degree);
247
248
287
extern
int
urg_rad2step
(
const
urg_t
*urg,
double
radian);
288
289
297
extern
int
urg_deg2step
(
const
urg_t
*urg,
double
degree);
298
299
307
extern
double
urg_step2rad
(
const
urg_t
*urg,
int
step);
308
309
317
extern
double
urg_step2deg
(
const
urg_t
*urg,
int
step);
318
326
extern
int
urg_step2index
(
const
urg_t
*urg,
int
step);
327
328
#ifdef __cplusplus
329
}
330
#endif
331
332
#endif
/* !URG_UTILS_H */
Generated on Thu May 2 2013 10:55:17 by
1.8.3.1