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

visualizing obstacles in rviz (Gridcells vs map element)

asked 2016-06-24 06:30:58 -0600

bsk gravatar image

updated 2016-06-24 06:34:42 -0600


I am trying to show obstacles / objects in rviz. i'm using costmap_2d for that

in the video of Using rviz with the Navigation Stack tutorial obstacles can be shown by using GridCells element in rivz (nav_msgs/GridCells).

But in the costmap_2d page and in the published topics there is only /grid (nav_msgs/OccupancyGrid). so i should use map element in rviz to see obstacles (/costmap topic)

since both of them are related obstacles why the both pages implicate different things? And how can i publish /obstacles topic to choose GRIDCELL display just like the video???

i tried to do plugins but again there's only /costmap topic for me to use.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-07-01 14:04:40 -0600

David Lu gravatar image

That tutorial is out of date. You should visualize the costmap using /costmap and /costmap_updates

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-06-24 06:30:58 -0600

Seen: 843 times

Last updated: Jul 01 '16