Skip to content

Commit 781959a

Browse files
Mavlink: update
1 parent 05dbb61 commit 781959a

12 files changed

Lines changed: 15589 additions & 11525 deletions

File tree

ExtLibs/Mavlink/Mavlink.cs

Lines changed: 1719 additions & 505 deletions
Large diffs are not rendered by default.

ExtLibs/Mavlink/mavlink.lua

Lines changed: 3036 additions & 1070 deletions
Large diffs are not rendered by default.

ExtLibs/Mavlink/message_definitions/ardupilotmega.xml

Lines changed: 2071 additions & 2071 deletions
Large diffs are not rendered by default.

ExtLibs/Mavlink/message_definitions/common.xml

Lines changed: 7591 additions & 6618 deletions
Large diffs are not rendered by default.
Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
<?xml version="1.0"?>
2-
<mavlink>
3-
<!-- ClearSky Air-Link contact info: -->
4-
<!-- company URL: https://air-link.space/ -->
5-
<!-- email contact: drone@air-link.space -->
6-
<!-- mavlink ID range: 52000 - 52099 -->
7-
<version>3</version>
8-
<enums>
9-
<enum name="AIRLINK_AUTH_RESPONSE_TYPE">
10-
<entry value="0" name="AIRLINK_ERROR_LOGIN_OR_PASS">
11-
<description>Login or password error</description>
12-
</entry>
13-
<entry value="1" name="AIRLINK_AUTH_OK">
14-
<description>Auth successful</description>
15-
</entry>
16-
</enum>
17-
</enums>
18-
<messages>
19-
<message id="52000" name="AIRLINK_AUTH">
20-
<description>Authorization package</description>
21-
<field type="char[50]" name="login">Login</field>
22-
<field type="char[50]" name="password">Password</field>
23-
</message>
24-
<message id="52001" name="AIRLINK_AUTH_RESPONSE">
25-
<description>Response to the authorization request</description>
26-
<field type="uint8_t" name="resp_type" enum="AIRLINK_AUTH_RESPONSE_TYPE">Response type</field>
27-
</message>
28-
</messages>
29-
</mavlink>
1+
<?xml version="1.0"?>
2+
<mavlink>
3+
<!-- ClearSky Air-Link contact info: -->
4+
<!-- company URL: https://air-link.space/ -->
5+
<!-- email contact: drone@air-link.space -->
6+
<!-- mavlink ID range: 52000 - 52099 -->
7+
<version>3</version>
8+
<enums>
9+
<enum name="AIRLINK_AUTH_RESPONSE_TYPE">
10+
<entry value="0" name="AIRLINK_ERROR_LOGIN_OR_PASS">
11+
<description>Login or password error</description>
12+
</entry>
13+
<entry value="1" name="AIRLINK_AUTH_OK">
14+
<description>Auth successful</description>
15+
</entry>
16+
</enum>
17+
</enums>
18+
<messages>
19+
<message id="52000" name="AIRLINK_AUTH">
20+
<description>Authorization package</description>
21+
<field type="char[50]" name="login">Login</field>
22+
<field type="char[50]" name="password">Password</field>
23+
</message>
24+
<message id="52001" name="AIRLINK_AUTH_RESPONSE">
25+
<description>Response to the authorization request</description>
26+
<field type="uint8_t" name="resp_type" enum="AIRLINK_AUTH_RESPONSE_TYPE">Response type</field>
27+
</message>
28+
</messages>
29+
</mavlink>
Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
1-
<?xml version="1.0"?>
2-
<mavlink>
3-
<!-- Cubepilot contact info: -->
4-
<!-- company URL: http://www.cubepilot.com -->
5-
<!-- email contact: siddharth@cubepilot.com or michael@cubepilot.com -->
6-
<!-- mavlink ID range: 50000 - 50099 -->
7-
<include>common.xml</include>
8-
<messages>
9-
<message id="50001" name="CUBEPILOT_RAW_RC">
10-
<description>Raw RC Data</description>
11-
<field type="uint8_t[32]" name="rc_raw"/>
12-
</message>
13-
<message id="50002" name="HERELINK_VIDEO_STREAM_INFORMATION">
14-
<description>Information about video stream</description>
15-
<field type="uint8_t" name="camera_id">Video Stream ID (1 for first, 2 for second, etc.)</field>
16-
<field type="uint8_t" name="status">Number of streams available.</field>
17-
<field type="float" name="framerate" units="Hz">Frame rate.</field>
18-
<field type="uint16_t" name="resolution_h" units="pix">Horizontal resolution.</field>
19-
<field type="uint16_t" name="resolution_v" units="pix">Vertical resolution.</field>
20-
<field type="uint32_t" name="bitrate" units="bits/s">Bit rate.</field>
21-
<field type="uint16_t" name="rotation" units="deg">Video image rotation clockwise.</field>
22-
<field type="char[230]" name="uri">Video stream URI (TCP or RTSP URI ground station should connect to) or port number (UDP port ground station should listen to).</field>
23-
</message>
24-
<message id="50003" name="HERELINK_TELEM">
25-
<description>Herelink Telemetry</description>
26-
<field type="uint8_t" name="rssi"/>
27-
<field type="int16_t" name="snr"/>
28-
<field type="uint32_t" name="rf_freq"/>
29-
<field type="uint32_t" name="link_bw"/>
30-
<field type="uint32_t" name="link_rate"/>
31-
<field type="int16_t" name="cpu_temp"/>
32-
<field type="int16_t" name="board_temp"/>
33-
</message>
34-
<message id="50004" name="CUBEPILOT_FIRMWARE_UPDATE_START">
35-
<description>Start firmware update with encapsulated data.</description>
36-
<field type="uint8_t" name="target_system">System ID.</field>
37-
<field type="uint8_t" name="target_component">Component ID.</field>
38-
<field type="uint32_t" name="size" units="bytes">FW Size.</field>
39-
<field type="uint32_t" name="crc">FW CRC.</field>
40-
</message>
41-
<message id="50005" name="CUBEPILOT_FIRMWARE_UPDATE_RESP">
42-
<description>offset response to encapsulated data.</description>
43-
<field type="uint8_t" name="target_system">System ID.</field>
44-
<field type="uint8_t" name="target_component">Component ID.</field>
45-
<field type="uint32_t" name="offset" units="bytes">FW Offset.</field>
46-
</message>
47-
</messages>
48-
</mavlink>
1+
<?xml version="1.0"?>
2+
<mavlink>
3+
<!-- Cubepilot contact info: -->
4+
<!-- company URL: http://www.cubepilot.com -->
5+
<!-- email contact: siddharth@cubepilot.com or michael@cubepilot.com -->
6+
<!-- mavlink ID range: 50000 - 50099 -->
7+
<include>common.xml</include>
8+
<messages>
9+
<message id="50001" name="CUBEPILOT_RAW_RC">
10+
<description>Raw RC Data</description>
11+
<field type="uint8_t[32]" name="rc_raw"/>
12+
</message>
13+
<message id="50002" name="HERELINK_VIDEO_STREAM_INFORMATION">
14+
<description>Information about video stream</description>
15+
<field type="uint8_t" name="camera_id">Video Stream ID (1 for first, 2 for second, etc.)</field>
16+
<field type="uint8_t" name="status">Number of streams available.</field>
17+
<field type="float" name="framerate" units="Hz">Frame rate.</field>
18+
<field type="uint16_t" name="resolution_h" units="pix">Horizontal resolution.</field>
19+
<field type="uint16_t" name="resolution_v" units="pix">Vertical resolution.</field>
20+
<field type="uint32_t" name="bitrate" units="bits/s">Bit rate.</field>
21+
<field type="uint16_t" name="rotation" units="deg">Video image rotation clockwise.</field>
22+
<field type="char[230]" name="uri">Video stream URI (TCP or RTSP URI ground station should connect to) or port number (UDP port ground station should listen to).</field>
23+
</message>
24+
<message id="50003" name="HERELINK_TELEM">
25+
<description>Herelink Telemetry</description>
26+
<field type="uint8_t" name="rssi"/>
27+
<field type="int16_t" name="snr"/>
28+
<field type="uint32_t" name="rf_freq"/>
29+
<field type="uint32_t" name="link_bw"/>
30+
<field type="uint32_t" name="link_rate"/>
31+
<field type="int16_t" name="cpu_temp"/>
32+
<field type="int16_t" name="board_temp"/>
33+
</message>
34+
<message id="50004" name="CUBEPILOT_FIRMWARE_UPDATE_START">
35+
<description>Start firmware update with encapsulated data.</description>
36+
<field type="uint8_t" name="target_system">System ID.</field>
37+
<field type="uint8_t" name="target_component">Component ID.</field>
38+
<field type="uint32_t" name="size" units="bytes">FW Size.</field>
39+
<field type="uint32_t" name="crc">FW CRC.</field>
40+
</message>
41+
<message id="50005" name="CUBEPILOT_FIRMWARE_UPDATE_RESP">
42+
<description>offset response to encapsulated data.</description>
43+
<field type="uint8_t" name="target_system">System ID.</field>
44+
<field type="uint8_t" name="target_component">Component ID.</field>
45+
<field type="uint32_t" name="offset" units="bytes">FW Offset.</field>
46+
</message>
47+
</messages>
48+
</mavlink>

0 commit comments

Comments
 (0)