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

common.xml: deprecate the _INT frames #356

Merged

Conversation

peterbarker
Copy link

the frame of an altitude is not dependent on how the altitude is being transported (how other fields in the same message are being transported).

ArduPilot has treated these frames to be the same as the non-_INT equivalents in most places for a very long time.

We can save some confusion and perhaps a small amount of flash space if we remove the _INT frames

Upstream PR is here: mavlink#2092

@rmackay9
Copy link

Sounds good to me. We can't really remove the _INT any time soon but marking them deprecated at least removes some essentially identical options that could lead to confusion.

@peterbarker
Copy link
Author

The upstream PR is much-improved from this one; I'll be resetting the content of this PR to whatever gets merged upstream at this point.

* common.xml: deprecate the _INT frames

the frame of an altitude is not dependent on how the altitude is being transported (how other fields in the same message are being transported).

ArduPilot has treated these frames to be the same as the non-_INT equivalents in most places for a very long time.

We can save some confusion and perhaps a small amount of flash space if we remove the _INT frames

* Replace the deprecated types where they are used

* Rename lat/lon from X pos/Y pos in WGS84 frame

* Update message_definitions/v1.0/common.xml

* simply the global frames

* Apply suggestions from code review

* Apply suggestions from code review

* Update common.xml

---------

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
@peterbarker peterbarker force-pushed the pr/deprecate-int-frames-ardupilot branch from 3653741 to fb5d56c Compare March 23, 2024 04:16
@peterbarker
Copy link
Author

I've reset the content of this PR to be the much-improved-by- @hamishwillee version merged into mavlink/mavlink

@peterbarker peterbarker merged commit a7bb8b2 into ArduPilot:master Mar 23, 2024
10 checks passed
@hamishwillee
Copy link

@peterbarker Really appreciate all this cleanup stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants