Is it possible to disable the local planner in Rviz?
Hello,
I want to know if it's possible to simply disable the local planner in Rviz.
I'm trying to implement turtlebot navigation - autonomously navigate in a known map, but for some reason, the local planner seems to be ignoring the costmap, causing the robot to collide with obstacles. The global planner works perfectly; it finds the shortest distance path based on the given map with no collisions with obstacles. I'm wondering if there's a way for me to just disable the local planner in Rviz so that the robot moves strictly according to the global planner, which should suffice for my purpose now?
Or if people have an idea of what's going wrong that's also welcomed =)
Thanks!
Asked by JJ on 2014-07-10 21:53:05 UTC
Answers
Hi JJ,
I think you have a slight misconception of what Rviz is, Rviz is a visualisation and interaction tool, it is in no way in charge of the algorithms underneath the navigation framework.
Once clarified that, take a look at the documentation of the navigation stack. If the global planner works well, it might be possible that you are not defining properly the radius of the robot or its footprint or the inflation radius of the obstacles, causing the local planner to generate paths that end up in collision.
It might also be that the obstacles go out of the field of view of your sensor (probably a Kinect?) when they are relatively close to the robot (<20cm) and the local planer is clearing them out of the costmap (because the robot doesn't see them any more).
Good luck!
Asked by Martin Peris on 2014-07-10 23:45:35 UTC
Comments