Display sensor informations
- Author
- Satofumi KAMIMURA
- Id:
- sensor_parameter.c,v 0caa22c18f6b 2010/12/30 03:36:32 Satofumi
#include "open_urg_sensor.h"
#include <stdio.h>
int main(int argc, char *argv[])
{
int min_step;
int max_step;
long min_distance;
long max_distance;
if (open_urg_sensor(&urg, argc, argv) < 0) {
return 1;
}
printf("step: [%d, %d]\n", min_step, max_step);
printf("distance: [%ld, %ld)\n", min_distance, max_distance);
#if defined(URG_MSC)
getchar();
#endif
return 0;
}