Possibility to connect an external sensor instead of an internal sensor and getting access to that sensor in the model for "Embedded Coder Support Package for PX4 Autopilot" ]
1 次查看(过去 30 天)
显示 更早的评论
Hi everyonr and thank you a lot for your messages about "Embedded Coder Support Package for PX4 Autopilots". Regarding comments 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.
0 个评论
回答(1 个)
Arun Mathamkode
2021-11-11
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!