What is the intended way of clearing MoveIt's octomap?
This question relates to the planing framework MoveIt. I use the python interface to send messages to the planning scene managed by the move group node. So far I'm able to represent the environment using a depth camera and linking it to the octomap.
Now I want to clear a specific area of this octomap. I allready tried adding a collision object to the planning scene but in rviz the voxel were still visible inside the added object. Hence the octomap wasn't cleared in this area as I suspected.
My question is, what is the intended way of clearing parts of the octomap? Is it possible to use predefined shapes and meshes? Can anyone link me some project/code were this kind of use-case/issue is addressed?
Thanks to anyone reading this :)
I'm using kinetic on a Ubuntu Xenial 16.04.
Hi! I am looking at this problem as well. Have you had any progress?
@geotsam please do not post answers that are not answers; this is a Q&A site not a discussion forum. If you have a question please add a comment or open your own question. I've moved your answer to a comment. Good luck with your problem!
Unfortunately not I have a messy workaround with my use case. A solution for the problem would still be interesting.
@HappyBit are you modifying the octomap directly or are you doing something different (like ignoring the octomap for a short period of time)?
im using the python bindings of moveit. I save the current planning_scene, clear_octomap service call, do_action, apply the saved octomap