ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

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

Comments

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
1

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 ( http://wiki.ros.org/pluginlib/Tutoria... ).

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

Question Tools

3 followers

Stats

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

Seen: 782 times

Last updated: May 17 '17