Error:The goal sent to the navfn planner is off the global costmap.
This post was updated on .
I am using Ubuntu 20.04, ROS Noetic.
And, I use RTABMAP and Navigation stack.
When I specify more than 4m ahead in "2D Nav Gaol" in move_base, I get the following error message.
The goal sent to the navfn planner is off the global costmap. Planning will always fail to this goal.
I want to set a goal point at least 10m away, but the robot does not work. The robot will go 3m away without error.
I have heard that I can fix it with the RTABMAP settings, but no matter what I look up I can't figure out how to set it up.
Re: Error:The goal sent to the navfn planner is off the global costmap.
You may try to plan outside the size of the occupancy grid. To make an initial large occupancy grid, you can set GridGlobal/MinSize to 100 m for example. Note also that in your launch file, you should set the parameters with "rtabmap/rtabmap" namespace.