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

RTABMAP 2D Occupancy Grid showing color

asked 2020-12-05 11:37:21 -0500

sisaha9 gravatar image

I am driving on a grey track with a green grass surrounding. I have a kinect plugin which I modified to reflect Intel d435 parameters. How can I have the 2D Occupancy Grid reflect the change in the color? I want to be able to create a map file that colors the grey track as the track we can drive on and the green grass as the part we can't drive on

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-12-10 13:38:37 -0500

matlabbe gravatar image

If Grid/3D is true, the /rtabmap/cloud_map point cloud will contain colors. You could recreate an occupancy grid by projecting the cloud on the xy plane and set grey points as empty, and green points as obstacles.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-12-05 11:37:21 -0500

Seen: 400 times

Last updated: Dec 10 '20