Weird Error related to Costmap
“update area outside of original map area” is the error I get when visualising the topic /movebase/globalcostmap/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/html/c++/map__display_8cpp_source.html at line 506
Asked by Rohan-D on 2021-03-17 17:31:14 UTC
Answers
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.
Asked by jayess on 2021-03-18 00:52:58 UTC
Comments
This error was due to incorrect width and height in global cost map params
Asked by Rohan-D on 2021-10-22 07:33:02 UTC
Perhaps you can add your solution as an answer to help others out who may encounter a similar issue?
Asked by jayess on 2021-10-22 16:40:19 UTC
Comments