Skip to content

Commit

Permalink
workaround for MoveIt PlanningScene bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Feb 18, 2020
1 parent bcc652b commit c44d0ca
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion capabilities/src/execute_task_solution_capability.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,12 @@ bool ExecuteTaskSolutionCapability::constructMotionPlan(const moveit_task_constr
if (!planning_scene::PlanningScene::isEmpty(sub_traj.scene_diff)) {
#endif
ROS_DEBUG_STREAM_NAMED("ExecuteTaskSolution", "apply effect of " << description);
return context_->planning_scene_monitor_->newPlanningSceneMessage(sub_traj.scene_diff);
bool result = context_->planning_scene_monitor_->newPlanningSceneMessage(sub_traj.scene_diff);
#if MOVEIT_MASTER
// HACK: workaround for https://github.com/ros-planning/moveit/issues/1835
ros::Duration(0.1).sleep();
#endif
return result;
}
return true;
};
Expand Down

0 comments on commit c44d0ca

Please sign in to comment.