Skip to content
Snippets Groups Projects
Commit ba29a47e authored by Johannes Mey's avatar Johannes Mey
Browse files

decrease timeout to 5 seconds

parent 5bd6161a
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ bool PandaUtil::recoverFromErrors() {
}
franka_msgs::ErrorRecoveryGoal goal;
ac.sendGoal(goal);
if (ac.waitForResult(ros::Duration(20.0))) {
if (ac.waitForResult(ros::Duration(5.0))) {
actionlib::SimpleClientGoalState state = ac.getState();
ROS_INFO_STREAM("Panda error recovery finished: " << state.toString());
return state == actionlib::SimpleClientGoalState::SUCCEEDED;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment