Skip to content

Commit b7e31d4

Browse files
authored
Fix race condition in RM initialization (restore 2000 ms wait) (#809)
1 parent 8f6caa0 commit b7e31d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gz_ros2_control/src/gz_ros2_control_plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ void GazeboSimROS2ControlPlugin::Configure(
465465
RCLCPP_WARN(
466466
this->dataPtr->node_->get_logger(),
467467
"Waiting RM to load and initialize hardware...");
468-
std::this_thread::sleep_for(std::chrono::milliseconds(200));
468+
std::this_thread::sleep_for(std::chrono::milliseconds(2000));
469469
}
470470

471471
this->dataPtr->entity_ = _entity;

0 commit comments

Comments
 (0)