Revision 1977
Fixed small bug in new main where if barcode was invalid, forgot to restart
motors for line following.
main-new.c | ||
---|---|---|
59 | 59 |
* -tailgating |
60 | 60 |
*/ |
61 | 61 |
#ifdef ORB_INTERSECTION |
62 |
orb1_set_color(ORB_OFF);
|
|
62 |
orb1_set_color(WHITE);
|
|
63 | 63 |
orb2_set_color(ORB_OFF); |
64 | 64 |
#endif |
65 |
start(); |
|
65 | 66 |
done = false; |
66 | 67 |
while(!done){ |
67 | 68 |
sign = doDrive(200); |
... | ... | |
160 | 161 |
|
161 | 162 |
case SINTERSECTION_ENTER_RESOLV: |
162 | 163 |
#ifdef ORB_INTERSECTION |
163 |
orb1_set_color(WHITE);
|
|
164 |
orb1_set_color(PURPLE);
|
|
164 | 165 |
orb2_set_color(ORB_OFF); |
165 | 166 |
#endif |
166 | 167 |
#ifdef DEBUG_INTERSECTION |
Also available in: Unified diff