Simulink Mavlink Communication Demo
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
Citar como
Alireza Ghaderi (2024). Simulink Mavlink Communication Demo (https://github.com/alireza787b/simulink_mavlink_generator/releases/tag/0.2), GitHub. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
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 |