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

why "map update loop missed" warning occours and what are is effects??

asked 2014-10-18 14:15:38 -0500

Aarif gravatar image

Hello, I am setting up a navigation as explained in Navigation Stack Setup Tutorial stack for P3AT spawned. after making all the costmap files when i run the move_base.launch file the following warning appears:-

[ WARN] [1413658951.699133967]: Map update loop missed its desired rate of 5.0000Hz... the loop actually took 2.1020 seconds

I just want to know why this error occurs and what are its effects on automated navigation??

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-10-18 16:29:25 -0500

paulbovbel gravatar image

updated 2014-10-18 16:31:48 -0500

It means that your pc is attempting to update the map every 0.2 seconds (5 Hz), but it's actually taking 10x as long. This means you're likely saturating your system's processing capability, and need to reduce the load somewhere. The load could be coming from the costmap itself, from other costly operations such as SLAM, or just a limitation in your hardware.

From a practical point of view, it means that the costmap will have a 2 second delay before it contains data representing the latest sensor information.

To prevent the warning, you can go into the costmap's parameters, and reduce the update rate to something smaller.

edit flag offensive delete link more

Comments

Thank you so much @paulbovbel, error has been removed. :)

Aarif gravatar image Aarif  ( 2014-10-19 05:13:56 -0500 )edit

Hello @Aarif. How did you removed this error? I got it already

vanquang gravatar image vanquang  ( 2020-07-02 03:05:07 -0500 )edit

hi @vanquang, After banging my head for long, I wrote my own navigation program.

Aarif gravatar image Aarif  ( 2020-07-12 01:09:02 -0500 )edit

Thanks. It was my problem too, solved it this way: changed the "update_frequency" from 5 to 2 in "costmap_common_params.yaml" file.

Kaveh_ROS gravatar image Kaveh_ROS  ( 2022-10-20 07:09:24 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-10-18 14:15:38 -0500

Seen: 2,105 times

Last updated: Oct 18 '14