RRT* Planner and Driving Scenario Generator

3 views (last 30 days)
Hakan Basargan
Hakan Basargan on 9 May 2019
Answered: Anand on 6 Jun 2019
Hi Guys,
I would like to implement RRT* algorithm to my Driving Scenario model :
Screen Shot 2019-05-09 at 8.01.52.png
Do you have any idea, how can I implement standart RRT* algorithm to the driving scenario model ?
I would like to run the simulation; and RRT* algorithm should generate path according to road lane (road lane would be obstacle)(real time).
Please find attached RRT* [1]

Answers (1)

Anand
Anand on 6 Jun 2019
The pathPlannerRRT implements a version of the RRT* planner. This may not directly suit your needs, but will get you started.
The basic workflow would entail the following steps:
  1. Set up a drivingScenario object.
  2. Add roads, lanes, actors and vehicles to describe your scenario. Add the ego vehicle to the scenario.
  3. Convert this into a vehicleCostmap object to represent the environment around the vehicle.
  4. Define the start and goal poses for the planner, then plan a path using pathPlannerRRT.
  5. Update the position of the ego vehicle based on the path returned by the planner.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!