Applying scene changes through service call does not block until changes are applied
This is a follow up to question: https://answers.ros.org/question/3525...
According to the tutorial. using the service call should block until the scene changes are applied.
However, I found that after the /apply_planning_scene
service returns, querying the planning scene with
planning_scene_monitor::LockedPlanningSceneRO scene(my_planning_scene_monitor);
does not give me a scene with the scene changes applied. A slight delay is required before the returned scene contains the changes.