You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
make PlanningSceneInterface add/remove CollisionObjects synchronously #38
I would very much like to adjust PlanningSceneInterface::{add/remove}CollisionObjects
to use the new ApplyPlanningScene service such that it performs synchronous updates to the planning scene.
This is what most users expect and it is not even documented in the tutorials that this is not the case.
At the moment these methods wrap simple publish calls whereas the other methods in this class query the move_group via services.
Thus, the current behavior is (1) inconsistent, (2) not documented, and (3) makes people add arbitrary long sleep calls after the function call.
However, ApplyPlanningScene is a MoveGroupCapability that has to be added manually in each projects move_group.launch and the PlanningSceneInterface has been around quite long.
Thus, simply changing the implementation would break many use-cases.
As a downward-compatible workaround I propose to check whether the service exists and either (1) call the detected service or (2) print an appropriate warning telling the user to enable ApplyPlanningScene in their move_group and afterward continue with the current publish.
With ROS-m,n, or o we could eventually remove the publish then.
+1, we at Xamla had trouble with the asynchronous (unreliable) nature of this too. @v4hn, @rhaschke Does someone of you want to work on this during WMD? Otherwise I could review the code and the proposed solution over the weekend to fix this on Tuesday.
On Sat, Aug 20, 2016 at 03:36:22AM -0700, Andreas Köpf wrote:
+1, we at Xamla had trouble with the asynchronous (unreliable) nature of this too. @v4hn, @rhaschke Does someone of you want to work on this during WMD?
Otherwise I could review the code and the proposed solution over the weekend to fix this on Tuesday.
I will be with you on WMD, so we can discuss things there and I can try to advise you.
As for all simple enhancement tickets, just add a note saying you will work on it.
Activity
rhaschke commentedon Aug 20, 2016
+1
andreaskoepf commentedon Aug 20, 2016
+1, we at Xamla had trouble with the asynchronous (unreliable) nature of this too. @v4hn, @rhaschke Does someone of you want to work on this during WMD? Otherwise I could review the code and the proposed solution over the weekend to fix this on Tuesday.
v4hn commentedon Aug 20, 2016
On Sat, Aug 20, 2016 at 03:36:22AM -0700, Andreas Köpf wrote:
I will be with you on WMD, so we can discuss things there and I can try to advise you.
As for all
simple enhancementtickets, just add a note saying you will work on it.v4hn commentedon Aug 22, 2016
@andreaskoepf do you claim this issue for tomorrow?
andreaskoepf commentedon Aug 23, 2016
@v4hn Yes, let's discuss this later. Would be happy to work on this.
v4hn commentedon Jan 31, 2017
This has been merged upstream in the meanwhile.