I want to use a Lateral Controller like Stanley or PID for my automated driving car with using Gps Coordinates.

5 visualizzazioni (ultimi 30 giorni)
I want to use a Lateral Controller for example Stanley or PID for my automated driving car. The Controller must able to correct lateral drive through steering. My inputs should be Gps coordinates from the car and Gps coordinates from my way points. I have seen some examples for lateral controller for automated driving but on these applications are being X Y coordinates. I want to apply it with Gps coordinates in real. Can someone help me please?
Thanks.
  16 Commenti
Sam Chak
Sam Chak il 5 Apr 2023
What exactly is the GPS Route for? Why do you want to create the data instead of importing the data from the GPS device?

Accedi per commentare.

Risposte (1)

Sam Chak
Sam Chak il 4 Apr 2023
A path planner function using the A* algorithm is available in the Navigation Toolbox; the function is called plannerAStarGrid(map). It can find the shortest collision-free path through an obstacle grid map.
There is an example in the documentation that you can refer to.

Community Treasure Hunt

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

Start Hunting!

Translated by