16 int main(
int argc,
char *argv[])
28 printf(
"urg_step2deg(%d): %f\n", min_step,
urg_step2deg(&urg, min_step));
29 printf(
"urg_step2deg(%d): %f\n", max_step,
urg_step2deg(&urg, max_step));
31 printf(
"urg_step2rad(%d): %f\n", min_step,
urg_step2rad(&urg, min_step));
32 printf(
"urg_step2rad(%d): %f\n", max_step,
urg_step2rad(&urg, max_step));
double urg_step2deg(const urg_t *urg, int step)
double urg_step2rad(const urg_t *urg, int step)
int main(int argc, char *argv[])
int open_urg_sensor(urg_t *urg, int argc, char *argv[])
void urg_step_min_max(const urg_t *urg, int *min_step, int *max_step)