Skip to content

Commit

Permalink
common.xml: deprecate the _INT frames
Browse files Browse the repository at this point in the history
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
  • Loading branch information
peterbarker committed Mar 7, 2024
1 parent f377033 commit 3653741
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions message_definitions/v1.0/common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,11 @@
<description>ENU local tangent frame (x: East, y: North, z: Up) with origin fixed relative to earth.</description>
</entry>
<entry value="5" name="MAV_FRAME_GLOBAL_INT">
<deprecated since="2024-03" replaced_by="MAV_FRAME_GLOBAL"/>
<description>Global (WGS84) coordinate frame (scaled) + MSL altitude. First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude over mean sea level (MSL).</description>
</entry>
<entry value="6" name="MAV_FRAME_GLOBAL_RELATIVE_ALT_INT">
<deprecated since="2024-03" replaced_by="MAV_FRAME_GLOBAL_RELATIVE_ALT"/>
<description>Global (WGS84) coordinate frame (scaled) + altitude relative to the home position. First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude with 0 being at the altitude of the home location.</description>
</entry>
<entry value="7" name="MAV_FRAME_LOCAL_OFFSET_NED">
Expand All @@ -268,6 +270,7 @@
<description>Global (WGS84) coordinate frame with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees, second value / y: longitude in degrees, third value / z: positive altitude in meters with 0 being at ground level in terrain model.</description>
</entry>
<entry value="11" name="MAV_FRAME_GLOBAL_TERRAIN_ALT_INT">
<deprecated since="2024-03" replaced_by="MAV_FRAME_GLOBAL_TERRAIN_ALT"/>
<description>Global (WGS84) coordinate frame (scaled) with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees*1E7, second value / y: longitude in degrees*1E7, third value / z: positive altitude in meters with 0 being at ground level in terrain model.</description>
</entry>
<entry value="12" name="MAV_FRAME_BODY_FRD">
Expand Down

0 comments on commit 3653741

Please sign in to comment.