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

3D costmap as obstacle for MoveIt!

asked 2016-12-02 03:33:31 -0500

Rahndall gravatar image

Dear Ros Users,

I am using MoveIt for controlling a robotic arm

Is there a way to use a 3D grid as costmap as obstacle for MoveIT planner? Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-12-02 04:48:45 -0500

rbbg gravatar image

updated 2016-12-02 05:27:22 -0500

gvdhoorn gravatar image

While not entirely identical to the way the 2DCostmap works, the Octomap is probably the closest alternative for 3D. Usually, the Octomap is fed by a depth camera, but it is also possible to specify the occupied voxels in any other way. The occupied voxels are then treated as collision obstacles, so MoveIt! planners will avoid any collisions with these voxels.

Have a look at this tutorial to see how it is used with a depth camera. This will also function for any other node publishing sensor_msgs/PointCloud2 messages on the input topic.

edit flag offensive delete link more

Comments

This absolutely answers to my (probably newbie) question. Thank you!

Rahndall gravatar image Rahndall  ( 2016-12-02 05:13:59 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2016-12-02 03:33:31 -0500

Seen: 1,784 times

Last updated: Dec 02 '16