Waypoint Follower and vertical guidance

조회 수: 6 (최근 30일)
Giuseppe Paganino
Giuseppe Paganino 2022년 12월 6일
댓글: Jianxin Sun 2022년 12월 7일
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
Giuseppe Paganino
Giuseppe Paganino 2022년 12월 7일
Hello Jianxin, thanks for your kind reply. The following image contains my set of waypoints. The transition radius is set to 1.
/tmp/Spectacle.HDuHCZ/Screenshot_20221207_182842.png
Anyway, I just noticed that - as you suggest - both the "from" and "to" waypoints have to be forwarded to the WF and I currently discard the from one. May this be the problem with my model?
Thank you,
GP
Jianxin Sun
Jianxin Sun 2022년 12월 7일
For waypoint follower block, it needs at least two distinct waypoints to follow. Maybe consider start from adding two waypoints to the block.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by