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

버전 1.0.0 (1.17 MB) 작성자: Kiril Boychev
Simulink C++ S-function for software-in-the-loop (SIL) simulation with ArduPilot.
다운로드 수: 233
업데이트 날짜: 2022/6/29

ArduPilot SIL Connector for Simulink

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

View ArduPilot 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
  • MissionPlanner

Files

ardupilot_sil_connector.cpp

make.m

includes.zip (contains the Asio C++ library)

Build instructions

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

Use instructions

  • Download and install MissionPlanner https://ardupilot.org/planner/docs/mission-planner-installation.html.
  • Open MissionPlanner, select the "Simulation" tab and click on the "Plane" icon to download the ArduPlane SIL simulator.
  • After downloading the ArduPlance SIL simulator, open a command prompt and navigate to "C:\Users\Documents\Mission Planner\sitl".
  • Execute the following command in the command prompt:
ArduPlane.exe --home 42.841448,24.770727,0.5,0 --model json
  • Click the connect icon in Mission Planner. Use the default host and port options.
  • Open and run "ardupilot_sitl_connector_example.slx".

Example use of the ArduPilot SIL connector

Example use of the ArduPilot SIL connector

ArduPilot SIL connector example

ArduPilot SIL connector example

Additional information available at

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

인용 양식

Kiril Boychev (2024). ArduPilot software-in-the-loop (SIL) connector for Simulink (https://github.com/aviumtechnologies/ardupilot-sil-connector/releases/tag/1.0.0), GitHub. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2022a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.