root / trunk / code / projects / diagnostic_station / station / test_rangefinders.c @ 1182
History | View | Annotate | Download (487 Bytes)
1 |
#include "test_rangefinders.h" |
---|---|
2 |
#include "global.h" |
3 |
|
4 |
#include "comm_robot.h" |
5 |
|
6 |
void test_rangefinders (void) |
7 |
{ |
8 |
usb_puts("# Testing rangefinders" NL);
|
9 |
|
10 |
for (int n=0; n<5; ++n) |
11 |
{ |
12 |
usb_puts("# Testing rangefinder ");
|
13 |
usb_puti(n); |
14 |
usb_puts(NL); |
15 |
|
16 |
|
17 |
// rotate to position
|
18 |
//
|
19 |
// for (wall positions up/down)
|
20 |
// {
|
21 |
// set wall position
|
22 |
// send (read)
|
23 |
// receive (data)
|
24 |
// }
|
25 |
} |
26 |
|
27 |
//send data
|
28 |
|
29 |
usb_puts("# Testing rangefinders finished" NL);
|
30 |
} |
31 |
|