added sleep

This commit is contained in:
2024-11-04 13:16:10 +01:00
parent 3af23f61cf
commit 60a51daf7b

View File

@@ -791,6 +791,8 @@ void CKobuki::robotSafety(std::string *pointerToMessage) {
forward(-100); // reverse the robot
}
std::this_thread::sleep_for(std::chrono::milliseconds(static_cast<int>(100)));
}
}