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

7 次查看(过去 30 天)
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 个评论

请先登录,再进行评论。

回答(1 个)

Sam Chak
Sam Chak 2023-4-4
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.

类别

Help CenterFile Exchange 中查找有关 Automated Driving Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by