Revision 740
fixed speeds, stop distances for bfs
orbit_fsm.h | ||
---|---|---|
11 | 11 |
#define ORBIT_STOP 16 //Stop. The default and ending state |
12 | 12 |
|
13 | 13 |
|
14 |
#define ORBIT_STRAIGHT_SPEED 150
|
|
14 |
#define ORBIT_STRAIGHT_SPEED 160
|
|
15 | 15 |
#define ORBIT_CORRECTION 9 |
16 | 16 |
|
17 | 17 |
|
18 | 18 |
#define ORBIT_DIRECTION 4 // if 4, then orbit to the right; if -4, then orbit to the left |
19 | 19 |
|
20 |
#define ORBIT_DISTANCE 250 // orbit distance as measured by rangefinders |
|
20 |
#define ORBIT_DISTANCE 175 // orbit distance as measured by rangefinders |
|
21 |
#define ORBIT_STOP_DISTANCE 120 |
|
21 | 22 |
|
22 | 23 |
|
23 | 24 |
int orbit_state; /*State machine variable.*/ |
Also available in: Unified diff