Revision 5d0687a9
Small changes to wireless, and starting turning with line following.
scout/libscout/src/LinesensorControl.h | ||
---|---|---|
49 | 49 |
/** Use ROS to get the current readings. */ |
50 | 50 |
std::vector<uint32_t> query(); |
51 | 51 |
|
52 |
/** Get line position */ |
|
53 |
double readline(); |
|
54 |
|
|
55 |
/** Implement turn functions */ |
|
56 |
void turnLeft(); |
|
57 |
void turnRight(); |
|
58 |
|
|
52 | 59 |
private: |
53 | 60 |
/* ROS publisher and client declaration */ |
54 | 61 |
ros::ServiceClient query_client; |
55 | 62 |
ros::NodeHandle node; |
63 |
|
|
64 |
/** Check if we are at an intersecetion */ |
|
65 |
bool fullline(); |
|
56 | 66 |
}; |
57 | 67 |
|
58 | 68 |
#endif /* _LINESENSOR_CONTORL_H_ */ |
Also available in: Unified diff