We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b96b44 commit a189651Copy full SHA for a189651
1 file changed
doc/kinematics/src/ros_api_tutorial.cpp
@@ -64,7 +64,7 @@ int main(int argc, char** argv)
64
while (!service_client.exists())
65
{
66
ROS_INFO("Waiting for service");
67
- sleep(1.0);
+ ros::Duration(1.0).sleep();
68
}
69
70
moveit_msgs::GetPositionIK::Request service_request;
0 commit comments