Waypoint Follower and vertical guidance
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello,
I am trying to create a multirotor model for my Master thesis. My model is mainly inspired by the one in the Package Delivery example (so i have a Path Manager forwarding a waypoint to the Waypoint follower and so on).
In my model the Path Manager forwards the "To" Waypoint to the Waypoint Follower; however the WF outputs a "z" coordinate for the Lookahead Point which is not consistent with the one I am expecting: in particular it shows a strange behaviour, like being constantly increasing/decreasing (the UAV follows the LAP faithfully), or "dropping" when reaching a waypoint. On the other hand, the horizontal part of the LAP (coordinates x and y) behave as expected.
I have tried to read the documentation, the referenced article and also the actual code which generates the LAP coordinates to no avail.
In the following picture I show the results of a sample run: the black line represents the output of the path manager (consistent with my waypoint definition), the yellow line is the output of the waypoint follower (which does not even try to oscillate around -40, it simply goes on) and the green line is the actual trajectory.

Is there something I am missing?
Thanks in advance to all who will reply.
GP
3 commentaires
Jianxin Sun
le 7 Déc 2022
For waypoint follower block, it needs at least two distinct waypoints to follow. Maybe consider start from adding two waypoints to the block.
Réponses (0)
Voir également
Catégories
En savoir plus sur UAV Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
