How to set a new waypoint after reaching the previous one in a Simulink flight simulation

조회 수: 3 (최근 30일)
I have a PID controller for a quadcopter. Rather than inputting a time-series trajectory for it to follow, I would like to input a list of waypoints for it to visit. I have coded a boolean variable in one of the functions that turns True when the total distance to the waypoint is less than an arbitrary threshold. How do I connect this to the list of waypoints to specify that the aircraft can start heading toward the next one as soon as this boolean variable turns True?

답변 (0개)

카테고리

Help CenterFile Exchange에서 UAV에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by