Skip to content

Commit

Permalink
FLIGHT_INFORMATION - description to match PX4 (mavlink#2067)
Browse files Browse the repository at this point in the history
* FLIGHT_INFORMATION - description to match PX4

* Update message_definitions/v1.0/common.xml

* Update message_definitions/v1.0/common.xml

Co-authored-by: Peter Barker <[email protected]>

* Update message_definitions/v1.0/common.xml

---------

Co-authored-by: Peter Barker <[email protected]>
  • Loading branch information
hamishwillee and peterbarker authored Jan 31, 2024
1 parent f80e681 commit 3865b31
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions message_definitions/v1.0/common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6852,13 +6852,18 @@
<field type="char[205]" name="file_url">URL of image taken. Either local storage or http://foo.jpg if camera provides an HTTP interface.</field>
</message>
<message id="264" name="FLIGHT_INFORMATION">
<description>Information about flight since last arming.
<description>Flight information.
This includes time since boot for arm, takeoff, and land, and a flight number.
Takeoff and landing values reset to zero on arm.
This can be requested using MAV_CMD_REQUEST_MESSAGE.
Note, some fields are misnamed - timestamps are from boot (not UTC) and the flight_uuid is a sequence number.
</description>
<field type="uint32_t" name="time_boot_ms" units="ms">Timestamp (time since system boot).</field>
<field type="uint64_t" name="arming_time_utc" units="us" invalid="0">Timestamp at arming (time since UNIX epoch) in UTC, 0 for unknown</field>
<field type="uint64_t" name="takeoff_time_utc" units="us" invalid="0">Timestamp at takeoff (time since UNIX epoch) in UTC, 0 for unknown</field>
<field type="uint64_t" name="flight_uuid">Universally unique identifier (UUID) of flight, should correspond to name of log files</field>
<field type="uint64_t" name="arming_time_utc" units="us" invalid="0">Timestamp at arming (since system boot). Set to 0 on boot. Set value on arming. Note, field is misnamed UTC.</field>
<field type="uint64_t" name="takeoff_time_utc" units="us" invalid="0">Timestamp at takeoff (since system boot). Set to 0 at boot and on arming. Note, field is misnamed UTC.</field>
<field type="uint64_t" name="flight_uuid" invalid="0">Flight number. Note, field is misnamed UUID.</field>
<extensions/>
<field type="uint32_t" name="landing_time" units="ms" invalid="0">Timestamp at landing (in ms since system boot). Set to 0 at boot and on arming.</field>
</message>
<message id="265" name="MOUNT_ORIENTATION">
<deprecated since="2020-01" replaced_by="MAV_CMD_DO_GIMBAL_MANAGER_PITCHYAW">This message is being superseded by MAV_CMD_DO_GIMBAL_MANAGER_PITCHYAW. The message can still be used to communicate with legacy gimbals implementing it.</deprecated>
Expand Down

0 comments on commit 3865b31

Please sign in to comment.