mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-03 20:04:58 +00:00
added sleep
This commit is contained in:
@@ -791,6 +791,8 @@ void CKobuki::robotSafety(std::string *pointerToMessage) {
|
|||||||
forward(-100); // reverse the robot
|
forward(-100); // reverse the robot
|
||||||
|
|
||||||
}
|
}
|
||||||
|
std::this_thread::sleep_for(std::chrono::milliseconds(static_cast<int>(100)));
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user