Revision af7e0f94
ID | af7e0f941c6ec3ce22eb88a8e49af36147359107 |
Added new at_destination functionality.
Maze turns are buggy and are the next order of business.
scout/libscout/src/LinesensorControl.h | ||
---|---|---|
53 | 53 |
double readline(); |
54 | 54 |
|
55 | 55 |
/** Check if we are at an intersecetion */ |
56 |
bool fullline(); |
|
56 |
bool fullline(std::vector<uint32_t> readings); |
|
57 |
|
|
58 |
/** Check if we are at the destination for a maze |
|
59 |
* (a special line pattern) */ |
|
60 |
bool destination(std::vector<uint32_t> readings); |
|
57 | 61 |
|
58 | 62 |
private: |
59 | 63 |
/* ROS publisher and client declaration */ |
Also available in: Unified diff