Closed pirobot closed 10 years ago
WaitForSync also needs some adjustments I think, the delete part doesn't handle attached_objects yet.
OK, thanks. I can use the PlanningSceneInterface() object directly for now.
@pirobot Just a heads up -- moveit_utils is going away, moved to https://github.com/mikeferguson/moveit_python -- and this feature is implemented there in the new PlanningSceneInterface class that replaces ObjectManager
And moveit_python is in debs for hydro and indigo -- indigo just sync'd, I imagine hydro isn't far behind.
I was trying to add a function removeAttached() to object_interface.py in moveit_utils but I'm getting stuck on syntax. This is what I am currently trying:
When I run this near the top of my script to remove an attached object from a previous run of the script, my script generates the following error:
[INFO] [WallTime: 1391887282.006127] Waiting for get_planning_scene [ERROR] [WallTime: 1391887284.021650] ObjectManager: sync timed out.
What am I missing?