ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Is it possible to replace the local planner in the default ROS Navigation stack to one that uses reinforcement learning?

asked 2017-05-15 03:43:17 -0500

Azzu gravatar image

I'm building a driverless car and the current problem is the TEB Local Planner.

I was wondering if it is possible to replace with an RL agent, and whether this has been done before.

edit retag flag offensive close merge delete


have you found a solution to this?

aarontan gravatar image aarontan  ( 2018-06-08 09:36:58 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-05-17 21:57:43 -0500

DavidN gravatar image

Definitely possible. You will need to implement a "base local planner plugin" of nav_core::BaseLocalPlanner . You can follow this tutorial to create a plugin ( ).

The nav_core::BaseLocalPlanner class has a few pure virtual function so you will have to re-implement them, but basically you just need to implement your planner in the function computeVelocityCommands.

You can also access the costmap_2d object (which is given by the initialize function) so you can perform any logic/algorithm to detect/avoid obstacles.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2017-05-15 03:43:17 -0500

Seen: 725 times

Last updated: May 17 '17