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