Pixhawk software-in-the-loop (SIL) connector for Simulink

version 1.0.0 (3.38 MB) by Kiril Boychev
Simulink C++ S-function for software-in-the-loop (SIL) simulation with Pixhawk.

11 Downloads

Updated 29 Jun 2022

From GitHub

View License on GitHub

Pixhawk SIL Connector for Simulink

Simulink C++ S-function for software-in-the-loop simulation with Pixhawk.

View Pixhawk software-in-the-loop (SIL) connector for Simulink on File Exchange

Requirements

  • MATLAB & Simulink (MATLAB R2022a or earlier)
  • MinGW-w64 or MSVC C/C++ Compiler
  • QGroundControl
  • PX4-Autopilot source code

Files

pixhawk_sil_connector.cpp

make.m

includes.zip (contains the Asio C++ and MAVLink C libraries)

Build instructions

  • Install MATLAB-supported compiler
    https://mathworks.com/support/requirements/supported-compilers.html.
  • Download the "pixhawk_sil_connector.cpp" and "make.m" files and the "includes.zip" archive.
  • Unzip the "includes.zip archive".
  • Run "make.m" to create a "pixhawk_sil_connector.mexw64" (Windows), "pixhawk_sil_connector.mexa64" (Linux), "pixhawk_sil_connector.mexmaci64" (macOS) file.

Use instructions

Example use of the Pixhawk SIL connector

Example use of the Pixhawk SIL connector

Pixhawk SIL connector example

Pixhawk SIL connector example

Additional information available at

https://fst.aviumtechnologies.com/pixhawk-sil-connector

Cite As

Kiril Boychev (2022). Pixhawk software-in-the-loop (SIL) connector for Simulink (https://github.com/aviumtechnologies/pixhawk-sil-connector/releases/tag/1.0.0), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2022a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
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.