checking wheel status

This commit is contained in:
ishak jmilou.ishak
2024-10-07 09:35:54 +02:00
parent 34db8b8e35
commit 2a95f4dd07

View File

@@ -25,6 +25,21 @@ int main()
mv.join(); //only exit once thread one is done running mv.join(); //only exit once thread one is done running
} }
int checkCenterCliff()
{
while (true)
{
std::cout << "cliffsensordata:" << robot.data.CliffSensorCenter << std::endl;
}
}
int checkWheelDrop(){
while (true)
{
std::cout << "wheeldropdata:" << robot.data.WheelDrop << std::endl;
}
}
int command(){ int command(){
int input; int input;