Revision ae21730e
ID | ae21730ed52fe1d5e5638d166cca7dcef668ed08 |
Sim line can make turns now! yay
scout/libscout/src/LinesensorControl.h | ||
---|---|---|
52 | 52 |
/** Get line position */ |
53 | 53 |
double readline(); |
54 | 54 |
|
55 |
/** Implement turn functions */ |
|
56 |
void turnLeft(); |
|
57 |
void turnRight(); |
|
55 |
/** Check if we are at an intersecetion */ |
|
56 |
bool fullline(); |
|
58 | 57 |
|
59 | 58 |
private: |
60 | 59 |
/* ROS publisher and client declaration */ |
61 | 60 |
ros::ServiceClient query_client; |
62 | 61 |
ros::NodeHandle node; |
63 |
|
|
64 |
/** Check if we are at an intersecetion */ |
|
65 |
bool fullline(); |
|
66 | 62 |
}; |
67 | 63 |
|
68 | 64 |
#endif /* _LINESENSOR_CONTORL_H_ */ |
Also available in: Unified diff