46 void ApplyPlanningSceneService::initialize()
49 &ApplyPlanningSceneService::applyScene,
this);
52 bool ApplyPlanningSceneService::applyScene(moveit_msgs::ApplyPlanningScene::Request& req,
53 moveit_msgs::ApplyPlanningScene::Response& res)
55 if (!context_->planning_scene_monitor_)
60 context_->planning_scene_monitor_->updateFrameTransforms();
61 res.success = context_->planning_scene_monitor_->newPlanningSceneMessage(req.scene);