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

What is "Rolling Window" used for?

asked 2016-01-11 20:14:46 -0500

Eric_ROS gravatar image

Hello~ all Recently I do some research about Robot Navigation. I'd like to find a way to save new map updated by Local Plan(Scan) while doing navigation. I found a interesting parameter "Rolling Window"...but no idea how to use it. Just know the definition as follows

~<name>/rolling_window (bool, default: false) Whether or not to use a rolling window version of the costmap. If the static_map parameter is set to true, this parameter must be set to false.

If "Rolling Window" is a parameter that user can do navigation and discover unknown area. Then we might can find some way to save the updated map. I tried to killl "amcl" node and run "slam_gmapping" independently.'s still failed cuz all new scanned info & static map will be cleaned.

Please share if you know... (1) what's the correct meaning of "rolling window" and how to use it (2) how to successfully saved new scanned info as a map file

Appreciation :)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-01-12 07:55:25 -0500

Sebastian Kasperski gravatar image

"Rolling window" means that you do not use the costmap to represent your complete environment, but only to represent your local surroundings (e.g. 5m x 5m around your robot). The costmap will then move along with your robot and will be updated by incoming sensor data.

edit flag offensive delete link more


Does that mean if rolling_window=true the costmap represent only the local surroundings centering our robot?

akhilkathi gravatar image akhilkathi  ( 2017-06-09 04:33:37 -0500 )edit

Yes. Set to false to use it as a global map.

Sebastian Kasperski gravatar image Sebastian Kasperski  ( 2017-06-12 02:14:12 -0500 )edit

Can I increase the size of rolling window to help the robot locate itself better?

LucYang gravatar image LucYang  ( 2018-03-29 19:42:52 -0500 )edit

No, rolling window maps are local maps and not used for localization.

Sebastian Kasperski gravatar image Sebastian Kasperski  ( 2018-05-15 04:39:18 -0500 )edit

Can rolling_window param be used for local path planner without static map? thanks.

pqLee gravatar image pqLee  ( 2020-11-01 19:49:30 -0500 )edit

Question Tools

1 follower


Asked: 2016-01-11 20:14:46 -0500

Seen: 7,978 times

Last updated: Jan 12 '16