Revision 411
Laid out what I think will be the structure of SLAM for colony. This is an interesting project, and I think my strategy is a good one. It's laid out in the file server_main.c so read it if you're interested. I threw together the bare bones, but I realized that I might need to change my data_request code so that the order of packet arrival doesn't matter.
smart_run_around_fsm.c | ||
---|---|---|
11 | 11 |
void run_around_init(void) |
12 | 12 |
{ |
13 | 13 |
range_init(); |
14 |
analog_init(); |
|
14 |
analog_init(ADC_START);
|
|
15 | 15 |
motors_init(); |
16 | 16 |
orb_init(); |
17 | 17 |
orb_enable(); |
Also available in: Unified diff