Ask Your Question
0

How to add/chage costmap values manually ?

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

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 -0600

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

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

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

Seen: 91 times

Last updated: Nov 11