Skip to content

Commit

Permalink
Increased sleep time when connecting to ensure that sane packages hav…
Browse files Browse the repository at this point in the history
…e started arriving.
  • Loading branch information
androst committed Sep 5, 2023
1 parent 5f23339 commit cc5f108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/romocc/Robot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ bool Robot::connect()
bool connected = mCommunicationInterface->connectToRobot();
if(!connected)
std::cout << "Robot not connected. Please check address." << std::endl;
std::this_thread::sleep_for(std::chrono::milliseconds(500));
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
return connected;
}

Expand Down

0 comments on commit cc5f108

Please sign in to comment.