Simulink Mavlink Communication Demo

simple block demonstrates how to create Mavlink messages from Simulink to any Mavlink-based node and ground station
161 Downloads
Updated 8 May 2023

mav1

This project provides a basic demonstration of how to create and transmit MAVLink messages for a custom drone from Simulink to any MAVLink-based ground stations or nodes. The code uses Simulink's MAVLink blockset, which is part of the UAV Toolbox, to generate the messages and transmit them via UDP on port 14550 on the localhost. This means that QGroundControl or any other MAVLink-based ground station connected to the same PC should be able to receive the messages automatically.

Please note that the UAV Toolbox requires a separate license from MATLAB. However, if you don't have access to the UAV Toolbox, it is possible to create MAVLink messages manually, although this is more involved and may be harder for beginners. This project only demonstrates using the UAV Toolbox.

YouTube Demo: https://youtu.be/rtTuKkhyDWM

The project is available on GitHub and includes detailed instructions on how to use it. YouTube demos and more detailed examples will be added to the GitHub repository in the future.

GitHub Repository: https://github.com/alireza787b/simulink_mavlink_generator

View Simulink Mavlink Communication Demo on File Exchange

Cite As

Alireza Ghaderi (2024). Simulink Mavlink Communication Demo (https://github.com/alireza787b/simulink_mavlink_generator/releases/tag/0.2), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2023a
Compatible with R2023a and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
0.2.0.0

See release notes for this release on GitHub: https://github.com/alireza787b/simulink_mavlink_generator/releases/tag/0.2

0.1

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.