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

MoveIt!2 add Pointcloud2 to OccupancyMapMonitor

asked 2021-10-22 03:58:23 -0600

FlorianSp gravatar image

First my Setup:

  • Ubuntu 20.04
  • ROS2 Foxy from Debian Packages
  • MoveIt!2 ROS2 UR Driver from
  • own Node for Launching RViz with moveIt and the Robot Driver connected to the URSimulator for Linux: all working
  • own Node for Receiving a Pointcloud over Network from an RGB-D Camera publishing it as Pointcloud2 in a topic: I can see the Pointcloud in RViz

I would like to use the Pointcloud as "Collision Object" in MoveIt so I tried to use the Perception Pipeline Tutorial from here: But I can't transfer it from Moveit1 to Moveit2. I tried to find the sensor_manager.launch file or to create it, but got stuck here. Is there another way to give the PointCloud2 the OccupancyMapMonitor?

Thank you for your efforts.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-10-29 01:59:04 -0600

FlorianSp gravatar image

I got a hint on this port of the Perception Tutorial (and others) and found the way to activate the OccupancyMapMonitorUpdater for Pointclouds. Just these Settings in the Launch file:

octomap_config = {'octomap_frame': 'camera_rgb_optical_frame', 
                      'octomap_resolution': 0.05,
                      'max_range': 5.0}

octomap_updater_config = load_yaml('avoid_obstacle_scene', 'config/pointcloud_octomap.yaml')

And then add the new two parameters to your move_group_node.

edit flag offensive delete link more


can you please show us the content in pointcloud_octomap.yaml?

khairulm gravatar image khairulm  ( 2022-09-07 05:30:49 -0600 )edit

Sorry, I haven't any Access to the project anymore. But I can just remember you can find it very easy by searching online.

FlorianSp gravatar image FlorianSp  ( 2022-09-07 06:38:35 -0600 )edit

@ FlorianSp
Did you get any specific way/solution for the above mentioned problem?

Thank you

ArvindKP gravatar image ArvindKP  ( 2023-01-03 23:22:47 -0600 )edit

Question Tools


Asked: 2021-10-22 03:58:23 -0600

Seen: 782 times

Last updated: Oct 29 '21