Hardware in Loop Simulation with Pixhawk

조회 수: 21(최근 30일)
Sajith Kk
Sajith Kk 2019년 11월 21일
답변: Arun Mathamkode 2022년 4월 6일
Is there a way to do Hardware in Loop Simulation with Pixhawk controller using Embedded Px4 Coder Support Package alone? I need to run my flight dynamics model in Simulink and run the Pixhawk controller in real time. Simulated sensor values has to be input to the contoller which controls the actuators. Actuator output is read as PWM and is output to flight model.
Thanks,
Sajith
  댓글 수: 1
Mohammad Amin Al Jarrah
Mohammad Amin Al Jarrah 2020년 8월 13일
Any success with Hardware in Loop Simulation with Pixhawk controller and PX4 simulink support package?

댓글을 달려면 로그인하십시오.

답변(2개)

Amrtanshu Raj
Amrtanshu Raj 2021년 9월 7일
Hi,
You can refer to this documentation to get HIL simulation for PX4 using Simulink. Although the example has some additional requirements.
You can edit the example as per your need.
  댓글 수: 1
wided charef
wided charef 2022년 3월 16일
hello could you help me with it?

댓글을 달려면 로그인하십시오.


Arun Mathamkode
Arun Mathamkode 2022년 4월 6일
PX4 Autopilot in Hardware-in-the-Loop (HITL) Simulation with UAV Dynamics in Simulink is supported from R2022a. Please refer this example for more details,

Community Treasure Hunt

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

Start Hunting!

Translated by