Revision 58c19c15
ID | 58c19c15b13ea81473e724302b2c64e055aaac82 |
better warehouse image (corresponds with lines now) and demo. Now only thing left is to implement home behavior.
scout/libscout/src/behaviors/line_follow.cpp | ||
---|---|---|
79 | 79 |
|
80 | 80 |
line_loc = linesensor->readline(); |
81 | 81 |
} |
82 |
while(!(-.5 < line_loc && line_loc < .5));
|
|
82 |
while(!(-1 < line_loc && line_loc < 1));
|
|
83 | 83 |
} |
84 | 84 |
|
85 | 85 |
void line_follow::halt() |
Also available in: Unified diff