Closed ghost closed 6 years ago
The error message is pretty clear -- you're not on the map. The global costmap is only as big as the map is -- and since your map appears to be entirely in the positive quadrant (this is pretty typical in ROS), you can't expect any global costmap updates to be in the negative quadrants. Localize your robot to a location not at 0,0 and you should see updates.
Hmm, sorry what you say sound to me like the root source of the problem but the issue is: that actually this step (move the costmap) is not performed well, when using move_base node.
Interestingly, when I use standard turtlebot gmapping launch files, everything seems to be ok. However, when cartographer is responsible for slam, then the move base fails to shift the global cost map correctly.
What I also have observed: using default turtlebot files, the global costmap has a position (-10, -10, 0) which is all zero with cartographer.
The TFs (map->odom->base_footprint->base_link) seem all to be ok.
So probably this is not the right place to place the questions since it not an issue with the low-level costmap2d implementation. Would be great if someone can give me a hint where to look further.
Thanks!
solved. the issue was that the move_base module requires the same TF nodes as in the turtlebot example.. So I added imu_link and base_footprint with zero translation and identity rotation...
Hi @mojovski ,
I see you just solved this problem 10 hours ago. Can you please expand on your solution? I am new to the navigation stack and I have been playing with the parameters of my TurtleBot3 navigation module to improve the navigation performance, and I believe I screwed something up. Up until yesterday everything was fine, now I keep getting the "the origin of the sensor is out of bounds" error, as you were. I just replaced all the param files on the navigation folder for the original ones. I believe my problem might be on the RViz displays and the topics they are listening to.
So long story short, can you be more specific on your solution? Thank you!
I am facing an issue with building a global costmap. While I am getting the warning in the terminal about map bounts
The origin for the sensor at (-0.06, 0.01) is out of map bounds. So, the costmap cannot raytrace for it.
the global cost map looks like this:The local costmap looks fine:
How can I avoid this issue? Is there probably a problem with the robot_base_frame?
I work with the branch "kinetic-devel"
I discovered this thread, but its not clear to me where and why which changes have been made. :( https://github.com/ros-planning/navigation/issues/148
Just in case, here is the output of