MAVLink
The protocol is very lightweight and well suited for applications with very limited communication bandwidth.[1] MAVLink, which stands for Micro Air Vehicle Link, serves as a communication protocol for small unmanned vehicles and is structured as a header-only message marshalling library.[2] Lorenz Meier initially released MAVLink under the GNU Lesser General Public License in early 2009.[2]
Quick Facts
- First release
- early 2009
- Creator
- Lorenz Meier
- License
- GNU Lesser General Public License (LGPL)
- Crc algorithm
- ITU X.25/SAE AS-4 hash
Facts from the source article.
How it changed
The MAVLink 2 packet format includes an incompat_flags field that indicates features a library must support to handle the packet.[3] A MAVLink implementation must discard a packet if it does not understand any flag in the incompat_flags field.[3] MAVLink 2 truncates any zero-filled bytes at the end of the payload before sending, while MAVLink 1 always sends all bytes.[3] A seed value is appended to the end of the data when computing the CRC, generated with each new message set.[4]
The CRC_EXTRA is calculated based on the over-the-air message layout rather than the XML order.[3] MAVLink reorders message fields in the payload for over-the-wire transmission to reduce data structure alignment issues.[4][3] Implementations of the MAVLink CRC algorithm exist for Python and Java, among other programming languages.[5]
What the maker and period sources say
The initial GitHub commit describes MAVLink as a library for lightweight communication between Micro Air Vehicles and/or ground control stations.[6] The GitHub repository states that MAVLink is a very lightweight, header-only message library for communication between drones and/or ground control stations.[1] The MAVLink Developer Guide notes that the serialization format is inspired by the CAN and SAE AS-4 standards.[3] The pymavlink repository includes a source code generator to create MAVLink protocol implementations for other programming languages.[7]
A tutorial on MAVLink basics for beginners using APM/PX4 systems was published on diydrones.com by Balasubramanian on 15 November 2013.[8][9]
References
- "GitHub - mavlink/mavlink: Marshalling / communication library for drones.", August 20, 2019. facts only, no text reused. github.com
- Wikipedia, "MAVLink" (CC BY-SA 4.0), which cites: "Initial commit · mavlink/mavlink@a087528", GitHub; "MAVLink Micro Air Vehicle Communication Protocol - QGroundControl GCS" (we also read that source) en.wikipedia.org
- "Serialization · MAVLink Developer Guide", mavlink.io. facts only, no text reused. mavlink.io
- Wikipedia, "MAVLink" (CC BY-SA 4.0), which cites: "Field Reordering and CRC Extra Calculation - QGroundControl GCS", qgroundcontrol.org (original not read by us) en.wikipedia.org
- Wikipedia, "MAVLink" (CC BY-SA 4.0), which cites: "GitHub - ArduPilot/pymavlink: python MAVLink interface and utilities.", August 18, 2019; "GitHub - arthurbenemann/droidplanner: Ground Control Station for Android Devices.", July 2, 2019; "A Java code generator and a Java library for MAVLink: ghelle/MAVLinkJava", August 4, 2019; "GitHub - dronefleet/mavlink: A Java API for MAVLink communication.", August 2, 2019 (we also read that source) en.wikipedia.org
- "Initial commit · mavlink/mavlink@a087528", GitHub. facts only, no text reused. github.com
- "GitHub - ArduPilot/pymavlink: python MAVLink interface and utilities.", August 18, 2019. facts only, no text reused. github.com
- Balasubramanian, "MAVLink Tutorial for Absolute Dummies (Part –I)", diydrones.com, 15 November 2013. facts only, no text reused. diydrones.com
- Wikipedia, "MAVLink" (CC BY-SA 4.0), which cites: Balasubramanian, "MAVLink Tutorial for Absolute Dummies (Part –I)", diydrones.com, 15 November 2013 (we also read that source) en.wikipedia.org
Each numbered sentence above was checked against the source it cites before publication. Sentences citing Wikipedia adapt text from the English Wikipedia article MAVLink (contributors), used under CC BY-SA 4.0; this entry is available under the same licence. Other sources were used for facts only; no text or images are copied from them.
More in Unmanned Aerial Vehicles
Spotted an error? Know more?
Reader corrections go straight into our review queue. Suggest an edit · How this site is sourced
