Hardware in Loop Simulation with Pixhawk

12 visualizaciones (últimos 30 días)
Sajith Kk
Sajith Kk el 21 de Nov. de 2019
Respondida: Arun Mathamkode el 6 de Abr. de 2022
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 comentario
Mohammad Amin Al Jarrah
Mohammad Amin Al Jarrah el 13 de Ag. de 2020
Any success with Hardware in Loop Simulation with Pixhawk controller and PX4 simulink support package?

Iniciar sesión para comentar.

Respuestas (2)

Amrtanshu Raj
Amrtanshu Raj el 7 de Sept. de 2021
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.

Arun Mathamkode
Arun Mathamkode el 6 de Abr. de 2022
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,

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by