got error. checking if its my code

This commit is contained in:
ishak jmilou.ishak
2024-10-08 11:54:20 +02:00
parent 61a7b10cd4
commit d3b71cd8ba

View File

@@ -21,20 +21,20 @@ 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(){
cout << "choose between forward and rotate" << endl;