Robotics StackExchange | Archived questions

Using teb_local_planner with via_points and obstacle avoidance

I'm using ROS Kinetic on a real 2-wheel differential drive bot. I would like to use move_base with Global Planner and TebLocalPlanner to navigate through a set of waypoints.

For teb_local_planner, I am publishing a set of points as navmsgs/Path on the topic `/viapoints. I have the default parameters of teb_local_planner set up with changes to include via_points, such asweightviapoints = 5andweightobstacle = 50. My goal is to use this combination of Global Planner and TEBLocalPlanner to navigate through a preferred set of viapoints, while being able to avoid obstacles. The problem I am facing is that it seems like the viapoints do not seem to affect the global planner at all, even when I apply higher values such asweight_viapoints = 50`. As explained in the tutorial, I do not want to set that too high as I still require some obstacle avoidance behaviour.

I'm able to echo the /via_points topic and see the points are being published once. What am I missing? Is there any other approach to achieving waypoint navigation with obstacle avoidance?

Any help will be appreciated!

Asked by curi_ROS on 2019-05-17 02:21:41 UTC

Comments

@croesmann could you have a look at this?

Asked by curi_ROS on 2019-05-17 02:22:40 UTC

Create a waypoint based global planneroadmap_global_plannerr instead. And use DWA local planner.

Asked by Veera Ragav on 2019-05-17 11:30:48 UTC

This seems interesting, is there any documentation you have created for this that might help me follow it better? For example the msgs you use aren't part of the package you have linked. @Veera Ragav

Asked by curi_ROS on 2019-05-18 10:20:27 UTC

Can you refer this video

Asked by Veera Ragav on 2019-05-18 12:26:58 UTC

In most use cases, via points are inherited from the global plan rather than sending them manually on topic /via-points. However, your use case should work as well, but there are still some open issues

Asked by croesmann on 2019-07-25 08:24:59 UTC

Answers