Skip to content
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

Tools: autotest: Use GLOBAL keyword to match WGS-84 MSL alt frames #28489

Closed

Conversation

Ryanf55
Copy link
Collaborator

@Ryanf55 Ryanf55 commented Oct 29, 2024

Purpose

This fixes the missing MAV_FRAME_GLOBAL from the conversion from absolute to relative alt.

I observed when using this conversion on some new plane tests, repeat tests result in long climbs that slow the test down and even fail it without longer timeouts.

Using the "in" keyword for substring containment

image

Docs

https://mavlink.io/en/messages/common.html#MAV_FRAME

Tests Performed

Copter autotest

This causes test failures:
https://github.com/ArduPilot/ardupilot/actions/runs/11565307247/job/32192397166?pr=28489#step:11:15192

This seems like very odd behavior. Perhaps it could use some docs on why MAV_FRAME_GLOBAL must be treated different?

* This fixes the missing MAV_FRAME_GLOBAL from the conversion to
  relative alt

Signed-off-by: Ryan Friedman <[email protected]>
@Ryanf55 Ryanf55 added the CI label Oct 29, 2024
@Ryanf55 Ryanf55 changed the title Tools: autotest: Use GLOBAL keyword Tools: autotest: Use GLOBAL keyword to match WGS-84 MSL alt frames Oct 29, 2024
@Ryanf55
Copy link
Collaborator Author

Ryanf55 commented Nov 5, 2024

Upstream PR that adds this frame: mavlink/mavlink#2092

@Ryanf55 Ryanf55 closed this Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants