Revision 912
Robot sends updates 50 times per second. Robot remote control program doesn't mess up terminal upon exit.
smart_run_around_fsm.c | ||
---|---|---|
10 | 10 |
|
11 | 11 |
void run_around_init(void) |
12 | 12 |
{ |
13 |
range_init(); |
|
13 |
/* range_init();
|
|
14 | 14 |
analog_init(ADC_START); |
15 | 15 |
motors_init(); |
16 | 16 |
orb_init(); |
17 | 17 |
orb_enable(); |
18 | 18 |
usb_init(); |
19 |
|
|
19 |
*/ |
|
20 | 20 |
/*Start in the default state, MOVING*/ |
21 | 21 |
avoid_state=MOVING; |
22 | 22 |
/*Set timers to their maximum values.*/ |
Also available in: Unified diff