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

Weird Error related to Costmap

asked 2021-03-17 17:31:14 -0500

Rohan-D gravatar image

“update area outside of original map area” is the error I get when visualising the topic /move_base/global_costmap/costmap. The costmap displays correctly but the path planning behavior from move_base is not upto mark. There is nothing on google or the docs to suggest what might casue it except the source code for rviz here.'

http://docs.ros.org/en/jade/api/rviz/... at line 506

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2021-03-18 00:52:58 -0500

jayess gravatar image

If you look at the entire block that gives that error, you'll see that this error stems from the update being out of bounds of the original map so they're rejected

// Reject updates which have any out-of-bounds data.
if (update->x < 0 || update->y < 0 || current_map_.info.width < update->x + update->width ||
    current_map_.info.height < update->y + update->height)
{
    setStatus(StatusProperty::Error, "Update", "Update area outside of original map area.");
    return;
}

So, it appears that your update is out of bounds.

edit flag offensive delete link more

Comments

This error was due to incorrect width and height in global cost map params

Rohan-D gravatar image Rohan-D  ( 2021-10-22 07:33:02 -0500 )edit

Perhaps you can add your solution as an answer to help others out who may encounter a similar issue?

jayess gravatar image jayess  ( 2021-10-22 16:40:19 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2021-03-17 17:31:14 -0500

Seen: 303 times

Last updated: Mar 18 '21