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

Dynamically changing the origin of costmap2D

asked 2015-04-10 17:25:40 -0600

sonali gravatar image

Hello everyone,

For a project I'm working on, we are using only the dwa_local_planner from the navigation stack. We generate and publish our own occupancy grid as a nav_msgs::OccupancyGrid message and give it to costmap2D. However, the origin of the occupancy grid and thus the costmap2D needs to change dynamically as the robot moves. What is a good way to change the origin of the cost map which it seems to be pulling from the costmap2D config file each time? Will the OccupancyGrid message change it automatically since I will be publishing the dynamically changing origin as a part of the map meta data in the message?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-04-14 13:26:08 -0600

David Lu gravatar image

Check out the rolling_window parameter. http://wiki.ros.org/costmap_2d

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-04-10 17:25:40 -0600

Seen: 377 times

Last updated: Apr 14 '15