root / trunk / code / projects / mapping / odometry / main.c @ 949
History | View | Annotate | Download (365 Bytes)
1 |
#include <dragonfly_lib.h> |
---|---|
2 |
#include "odometry.h" |
3 |
#include <math.h> |
4 |
|
5 |
int main(void) |
6 |
{ |
7 |
dragonfly_init(ALL_ON); |
8 |
odometry_init(); |
9 |
char buf[100]; |
10 |
while(1){ |
11 |
//sprintf(buf,"X: %ld mm, Y: %ld mm, Theta: %lf rad Velocity: %ld mm/s\n\r",
|
12 |
//odometry_dx(), odometry_dy(), odometry_angle(), odometry_velocity());
|
13 |
//usb_puts(buf);
|
14 |
delay_ms(500);
|
15 |
} |
16 |
return 0; |
17 |
} |
18 |
|
19 |
|