-
Notifications
You must be signed in to change notification settings - Fork 13.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Navigator: Set altitude acceptance radius to infinity when moving to land point after transition #24115
Conversation
🔎 FLASH Analysispx4_fmu-v5x [Total VM Diff: 176 byte (0.01 %)]
px4_fmu-v6x [Total VM Diff: 168 byte (0.01 %)]
Updated: 2024-12-20T06:59:46 |
35ce352
to
f57ebfb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with the logic, just need to double check the one comment.
How extensive did you SITL test it?
@sfuhrer I tested this in SITL for all three cases by deliberately making the vehicle overshoot the transition and by adding a hack which increases the altitude setpoint of the land point, once the transition is finished. |
for land waypoint after backtransition -> avoid vehicle with depleted battery from not reaching the alt setpoint and getting stuck Signed-off-by: RomanBapst <[email protected]>
Signed-off-by: RomanBapst <[email protected]>
640a100
to
b9b82ec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Solved Problem
After a VTOL backtransition the vehicle might not be close enough to the land point and thus needs to move horizontally.
It can happened that during this process the vehicle loses altitude and thus reaches the land point without being within the acceptance radius of the land point. In cases of strong wind or depleted batteries, it might not be possible for the vehicle to climb into the acceptance radius. However, this is also unnecessary, as the goal is eventually to descend.
Solution
Set the altitude acceptance radius to infinity when we are moving to the land point after the backtransition.
Changelog Entry
For release notes:
Alternatives
We could also ...
Test coverage
Context
Related links, screenshot before/after, video