mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-03 20:04:58 +00:00
uncomment cliff and wheel sensor
This commit is contained in:
@@ -20,22 +20,19 @@ int main() {
|
||||
mv.join(); // only exit once thread one is done running
|
||||
}
|
||||
|
||||
// int checkCenterCliff()
|
||||
// {
|
||||
// while (true)
|
||||
// {
|
||||
// std::cout << "cliffsensordata:" <<
|
||||
// robot.parser.data.CliffSensorCenter << std::endl;
|
||||
// }
|
||||
// }
|
||||
int checkCenterCliff() {
|
||||
while (true) {
|
||||
std::cout << "cliffsensordata:" << robot.parser.data.CliffSensorCenter
|
||||
<< std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
// int checkWheelDrop(){
|
||||
// while (true)
|
||||
// {
|
||||
// std::cout << "wheeldropdata:" << robot.parser.data.WheelDropLeft
|
||||
// << std::endl;
|
||||
// }
|
||||
// }
|
||||
int checkWheelDrop() {
|
||||
while (true) {
|
||||
std::cout << "wheeldropdata:" << robot.parser.data.WheelDropLeft
|
||||
<< std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
int command() {
|
||||
char input;
|
||||
|
Reference in New Issue
Block a user