mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-03 20:04:58 +00:00
checking wheel status
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user