Revision 584
added a define value for the change in direction used by the fsm.
code worked in my trail w/ robot 1 as the decoy, robo 7 as the driver
driver.c | ||
---|---|---|
15 | 15 |
orb_init(); |
16 | 16 |
orb_set_color(PURPLE); |
17 | 17 |
wl_init(); |
18 |
wl_set_channel("O"); |
|
18 | 19 |
wl_token_ring_register(); |
19 | 20 |
wl_token_ring_join(); // join token ring |
20 | 21 |
|
... | ... | |
28 | 29 |
break; |
29 | 30 |
}*/ |
30 | 31 |
|
31 |
orbit_init(9);//robot);
|
|
32 |
orbit_init(1);//robot);
|
|
32 | 33 |
|
33 | 34 |
while(1) { |
34 | 35 |
orbit_fsm(); // do orbit |
Also available in: Unified diff