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

How to add/chage costmap values manually ?

asked 2018-03-06 07:05:59 -0500

Developer gravatar image

hi

is it possible to change the specific cost value of a cell(x,y) of the costMap manually?

for example cell(1,1): cost is -1

manually updated and

new cell(1,1) cost is 100

thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-11-11 02:06:20 -0500

bob-ROS gravatar image

http://docs.ros.org/indigo/api/costma...

e.g

costmap_->setCost(mx, my, costmap_2d::FREE_SPACE);
edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2018-03-06 07:05:59 -0500

Seen: 326 times

Last updated: Nov 11 '19