Ask Your Question

Display only one layer of a costmap in rviz

asked 2018-09-07 09:02:26 -0500

Hug gravatar image

updated 2018-09-07 10:22:35 -0500

Hi everyone,

I have a costmap with two layers (static_layer and inflation_layer) and I would like to be able to display them separately or in different colors because it is difficult to distinguish the two (there is only a very small difference in brightness between them) :

image description

Thanks in advance for your advices!


As advised by David Lu, I changed the Color Scheme of my costmap from map to costmap:

image description

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-09-07 09:24:22 -0500

David Lu gravatar image

There is not currently functionality to visualize layer by layer, but you can change the color scheme of the OccupancyGrid display in rviz to Costmap, which will make the color differences more apparent.

edit flag offensive delete link more


Thanks, it's exactly what I needed. If I understand correctly, the purple zone corresponds to the real geometry of the obstacle and the light blue corresponds to place where the robot center can never be, whatever its orientation, right?

Hug gravatar image Hug  ( 2018-09-07 10:22:05 -0500 )edit

That is correct.

David Lu gravatar image David Lu  ( 2018-09-11 08:13:56 -0500 )edit

Ok, thanks.

Hug gravatar image Hug  ( 2018-09-11 10:02:32 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2018-09-07 09:02:26 -0500

Seen: 975 times

Last updated: Sep 07 '18