/simulink_mavlink_generator

simple block demonstrate how to create mavlink messages from Simulink to any mavlink based node and ground station

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