How can I block internal sensor access in a PX4 Autopilot inside Pixhawk since dedicated support package ?

1 visualización (últimos 30 días)
Hi everyone and thank you a lot for your messages about "Embedded Coder Support Package for PX4 Autopilots". Regarding your comment about the possibility to connect an external sensor (I2C or analog (ADC) or serial) instead of an internal sensor and get access to that sensor in the model, could you tell me please how I can proceed and especially how I can block access to the internal sensors (Acceleromter, Gyroscope, barometer) inside Pixhawk to be sure that they will be not used ? Could I manage that by QGC? My project is to connect a Pixhawk (with the code generated from Simulink model integrated with PX4 Firmware) to a Hardware In the Loop test bench in real time. In this facility, the quadcopter X plant with its environnement and its sensors should be simulated. Thank you a lot for your help and advises.

Respuestas (1)

Arun Mathamkode
Arun Mathamkode el 11 de Nov. de 2021
I found this documentation page very helpful in setting up the Pixhawk in HITL mode. You can consider looking at the ' Follow Mission Uploaded from QGroundControl (QGC) in Hardware-in-the-Loop (HITL) Mode' example for the detailed workflow.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by