ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to set collision for octomap in moveit?

asked 2016-03-14 23:52:08 -0600

sean819 gravatar image

I input octomap to moveit first of run this command.

 rosrun octomap_server octomap_server_node cloud_in:=rtabmap/cloud_map

And move goal quadrotor when fixed framed is odom-combine. After that, I set fixed framed to map.(this is the only way I can move quadrotor) And do the plan. I found that quadrotor pass through the octomap. Octomap doesn’t have collision. How do I set collision for octomap? in this picture,you can see quadrotor ignore octomap

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2016-03-15 02:15:54 -0600

octomap_server is a standalone node belonging to octomap_ros that is completely independent of moveit. The octomap library is used inside moveit (or more precise, the move_group node) for representing environment geometry, but that does not mean that loading a octomap into octomap_server automatically makes it known to moveit.

One option to feed the octomap to moveit is using the planning scene ROS API described in this tutorial. Using that you can send new octomap collision geometry to moveit as part of the moveit_msgs/PlanningSceneWorld message inside the moveit_msgs/PlanningScene message.

Another (perhaps easier) option is to update the internal moveit octomap directly using your sensors, see moveit 3D Perception/Configuration.

edit flag offensive delete link more


i think the first option is difficult for me(I am a beginner).So i didn't success. Then i try the second one.But after i did all step in the tutorial and launch demo.launch.I got the warn message in this picture.

sean819 gravatar image sean819  ( 2016-03-15 14:48:32 -0600 )edit

i add the new question in here

sean819 gravatar image sean819  ( 2016-03-15 15:05:54 -0600 )edit

I success now.but the weird thing is when i move xtion pro live. It didn't build 3D model. It build like a mass here.How can i fix that?

sean819 gravatar image sean819  ( 2016-03-27 10:28:21 -0600 )edit

Question Tools



Asked: 2016-03-14 23:52:08 -0600

Seen: 4,231 times

Last updated: Mar 15 '16