![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/622793/image.png)
What is Lookahead Distance?
36 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Shubham Kalpande
il 18 Mag 2021
Commentato: Shubham Kalpande
il 20 Mag 2021
I am trying to implement the waypoint follower object in a flight simulation. I have added white noise to dynamical equations of motion for an UAV, and trying to simulate the drift due to integration. The trouble is I see drift only for higher values of look ahead distance, but nothing for small values.
Can you please explain what exactly is this lookahead distance? Nothing is clear from the MATLAB page where it's information is given.
For example in this link, they have tuned the lookahead distance to get smoother trajectory. What exactly is this look ahead distance?
0 Commenti
Risposta accettata
Jianxin Sun
il 19 Mag 2021
Hi Shubham,
The lookahead distance determines how far ahead the target location would be for the UAV along the path defined by waypoints. Check the illustration below, the larger L is, the further away target point would be, which usually yield a more consistent flight direction for the UAV. If L is too small, the UAV would need to adjust its heading frequently. If L is too high, the UAV might not converge to the path line fast enough.
Thanks,
Jianxin![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/622793/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/622793/image.png)
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!