Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 1516

Static Map corner at origin for Navigation Stack

$
0
0
Going through the tutorials for the ROS Navigation stack, using a static map generated through gmapping. This is done on a simulation. When to robot is initialized, it is located at the origin. I perform gmapping and the map is generated, centered around origin. However, after launching the navigation stack, following the tutorial, the static map seems to have the corner located at origin, and thus leads to [ WARN] [1521163803.387421877, 5297.630000000]: The origin for the sensor at (-0.10, 0.03) is out of map bounds. So, the costmap cannot raytrace for it. ![image description](https://i.imgur.com/egYoZLc.png) ![image description](https://i.imgur.com/Uc4E8CV.png) Note: If i add the map through map_server, and visualize it through RVIZ, then the map is properly centered with the center of the map on origin. I am vaguely aware about the ability to add offsets to the static map. But not too clear on how, and I feel as though static offsets arn't an ideal solution, if the size of the map can change.

Viewing all articles
Browse latest Browse all 1516

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>