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

get cells of costmap_2d::Costmap2D

asked 2021-11-08 03:17:25 -0600

dinesh gravatar image

How can i get the pixels/cells of a local costsmap? I was checking this documentation of costmap2dROS, but i didn't found any function which can provide the list or vector of cells that are present in given costmap.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-11-09 12:44:39 -0600

costmap_ getCost() will do these things

edit flag offensive delete link more

Comments

This function gives the cost value of given pixe/pose. I was searching for method to get every pixel/pose inside given local costmap of given height and width.

dinesh gravatar image dinesh  ( 2021-11-10 00:22:01 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2021-11-08 03:17:25 -0600

Seen: 96 times

Last updated: Nov 09 '21