mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-04 04:14: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
|
mv.join(); // only exit once thread one is done running
|
||||||
}
|
}
|
||||||
|
|
||||||
// int checkCenterCliff()
|
int checkCenterCliff() {
|
||||||
// {
|
while (true) {
|
||||||
// while (true)
|
std::cout << "cliffsensordata:" << robot.parser.data.CliffSensorCenter
|
||||||
// {
|
<< std::endl;
|
||||||
// std::cout << "cliffsensordata:" <<
|
}
|
||||||
// robot.parser.data.CliffSensorCenter << std::endl;
|
}
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
// int checkWheelDrop(){
|
int checkWheelDrop() {
|
||||||
// while (true)
|
while (true) {
|
||||||
// {
|
std::cout << "wheeldropdata:" << robot.parser.data.WheelDropLeft
|
||||||
// std::cout << "wheeldropdata:" << robot.parser.data.WheelDropLeft
|
<< std::endl;
|
||||||
// << std::endl;
|
}
|
||||||
// }
|
}
|
||||||
// }
|
|
||||||
|
|
||||||
int command() {
|
int command() {
|
||||||
char input;
|
char input;
|
||||||
|
Reference in New Issue
Block a user