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

Added mission checksum message #1172

Closed
wants to merge 15 commits into from
Closed
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions message_definitions/v1.0/common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1532,6 +1532,18 @@
<param index="1" label="First Item" minValue="0" increment="1">first_item: the first mission item to run</param>
<param index="2" label="Last Item" minValue="0" increment="1">last_item: the last mission item to run (after this item is run, the mission ends)</param>
</entry>
<entry value="350" name="MAV_CMD_MISSION_UID" hasLocation="false" isDestination="false">
<wip/>
<!-- This message is work-in-progress and it can therefore change. It should NOT be used in stable production environments. -->
<description>Unique mission ID to be put in beginning of a mission to easily test mission synchronisation.</description>
<param index="1" label="First 4 bytes of the unique mission ID"> </param>
<param index="2" label="Last 4 bytes of the unique mission ID"> </param>
<param index="3">Reserved</param>
hamishwillee marked this conversation as resolved.
Show resolved Hide resolved
<param index="4">Reserved</param>
<param index="5">Reserved</param>
<param index="6">Reserved</param>
<param index="7">Empty</param>
</entry>
<entry value="400" name="MAV_CMD_COMPONENT_ARM_DISARM" hasLocation="false" isDestination="false">
<description>Arms / Disarms a component</description>
<param index="1" label="Arm" minValue="0" maxValue="1" increment="1">0: disarm, 1: arm</param>
Expand Down Expand Up @@ -2556,6 +2568,9 @@
<entry value="65536" name="MAV_PROTOCOL_CAPABILITY_FLIGHT_INFORMATION">
<description>Autopilot supports the flight information protocol.</description>
</entry>
<entry value="131072‬" name="MAV_PROTOCOL_CAPABILITY_MISSION_UID">
<description>Autopilot supports unique mission ID in the mission.</description>
</entry>
hamishwillee marked this conversation as resolved.
Show resolved Hide resolved
</enum>
<enum name="MAV_MISSION_TYPE">
<description>Type of mission items being requested/sent in mission protocol.</description>
Expand Down Expand Up @@ -3635,6 +3650,14 @@
<field type="uint8_t" name="origin_compid" enum="MAV_COMPONENT">Compnent ID of the author of the new mission.</field>
<field type="uint8_t" name="mission_type" enum="MAV_MISSION_TYPE">Mission type.</field>
</message>
<message id="53" name="MISSION_UID">
hamishwillee marked this conversation as resolved.
Show resolved Hide resolved
<wip/>
<!-- This message is work-in-progress and it can therefore change. It should NOT be used in stable production environments. -->
<description>Unique mission ID for the current mission. The UID is set in a mission with MAV_CMD_MISSION_UID. When requesting the MISSION_UID with MAV_CMD_REQUEST_MESSAGE then use mission_type as param 2 of that message.</description>
<field type="uint8_t" name="mission_type" enum="MAV_MISSION_TYPE">Mission type.</field>
<field type="float" name="uid_1">First 4 bytes of the unique mission ID</field>
hamishwillee marked this conversation as resolved.
Show resolved Hide resolved
<field type="float" name="uid_2">Last 4 bytes of the unique mission ID</field>
</message>
<message id="54" name="SAFETY_SET_ALLOWED_AREA">
<description>Set a safety zone (volume), which is defined by two corners of a cube. This message can be used to tell the MAV which setpoints/waypoints to accept and which to reject. Safety areas are often enforced by national or competition regulations.</description>
<field type="uint8_t" name="target_system">System ID</field>
Expand Down