Azzera filtri
Azzera filtri

Hybrid A Star Implementation

4 visualizzazioni (ultimi 30 giorni)
PathPlanner
PathPlanner il 4 Giu 2021
Commentato: SAYANDIP il 7 Feb 2024
I have some questions about the paramters in the plannerHybridAStar program.
1) What is a "MotionPrimitive"? Is it referring to a step of the path of either straight or arc?
2) Based on that, what is the NumMotionPrimitives? By increasing that, the path seems to get smoother, but why?
3) Does the "DirectionSwitchingCost" refer to the cost of going to a arc path or just transitioning from an arc path to a straight path?
I am trying to make an algorithm similar to Hybrid A Star, which minimizes the number of steps it takes to get to the goal by taking either straight paths or constant curvature paths, so any help on what these parameters are referring to would be greatly appreciated. Thank you!

Risposte (1)

Prashant Kumar
Prashant Kumar il 7 Giu 2021
Answering the questions:
  1. Motion primitives are the smallest entities of the path, which are generated in form of circular arcs and a straight line. The generation of these primitives can be controlled by property "NumMotionPrimitives" property and its length by "MotionPrimitiveLength" property.
  2. "NumMotionPrimitives" property increases the number of motion primitives being generated, and cost function considers the curvature of primitives while calculating the cost of the node. So its more likely that arc with less curvature will get selected and making the overall path smoother.
  3. "DirectionSwitchingCost" gets added to the cost function only when there is transition between forward and reverse motion.
  3 Commenti
SAYANDIP
SAYANDIP il 7 Feb 2024
The Hybrid A star given on MATLAB is not working, https://in.mathworks.com/help/driving/ug/automated-parking-valet.html

Accedi per commentare.

Categorie

Scopri di più su MATLAB Report Generator in Help Center e File Exchange

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by