Closed pirobot closed 10 years ago
I recently added some functions to the python wrap for moveit. Look at https://github.com/ros-planning/moveit_commander/issues/18 . I found it was not to complicated to wrap existent functions in c++ move_group to make them accessible to python. I'm also tryining to play with the pick and place stuff in python. Yet not make the pick pipeline to work. I can take a look an try to make this function accessible to python. In fact, was in my plans already.
That would be great!
Here's my attempt to do it myself: https://github.com/ros-planning/moveit_commander/pull/21
Was merged in #21
I have pick and place working fairly well using the Python API. However, occasionally (but not all the time) the place operation fails because of a collision detected between the object being moved and the support surface (a table in my case). The specific messages are:
I've checked fairly carefully through the Python API docs and the source code and there doesn't appear to be the equivalent of the C++ function group.setSupportSurfaceName() or the equivalent of the Python function grasp.allowed_touch_objects() that can be used with the pick operation. Did I miss something or is there another way to tell MoveIt that the object being moved is allowed to touch the support surface?