Aviumtechnologies Ltd develops software for aerodynamic analysis and tools for flight simulation that accelerate the aircraft design process, designs and operates UAVs, and provides aerospace consulting services.
I am looking to obtain state data from PX4 for a drone. Specifically, I need state information such as Vb_dot, Omegab_dot, as well as control input values through the controller (e.g., Thrust, torque_p, torque_q, torque_r, etc.). From what I’ve observed in the code, it seems that data calculated by PX4's uORB (hil_actuator_controls) is being fetched. Does this mean that the PX4 calculated state data is merely being displayed in Simulink, without further processing? I may not have explained this clearly, but I would appreciate your response.
Hi! No, unfortunately. :( This example is quite old and was used for connecting Simulink with Ardupilot SITL. Currently, we are exclusively working with Pixhawk, focusing on both SITL and HITL with actual hardware (Pixhawk and BeagleBone Blue).
Excellent research work. Can I learn from you? I also work on the propeller panel method, and I would like to add a new vortex particle model. Thank you very much😉
Can you please suggest some references or material for doing this in Simulink . or if you can provide some of your example model that youl be very helpful. Thank you
Yes, you can visit the GitHub repository @ github.com/aviumtechnologies/pixhawk-sil-connector. There is a readme file on how to get started including an example quadcopter model.
Can one display a video feed in the PFD window for a heads-up visual display, as one can in Mission Planner? I would love to see a HUD PFD for QGroundControl under Linux.
Can this be super-posed over a video feed to provide a PFD HUD as in Mission Planner? Such a PFD is missing from QGroundControl, which runs on Linux whereas Mission Planner does not. When would a Linux version of the PFD be available? (QGC provides simulated steam guages... not a PFD).
Hi! Running the PFD under Linux should be possible. We will look into compiling a Linux PFD binary. The video feed option should be possible as well, but it will require more time from our side. It is definitely in our future features list.
Hi Mohammed. Yes. The PX4-Autopilot is compiled and executed in WSL2. More information regarding Pixhawk and WSL2 is available at docs.px4.io/main/en/dev_setup/dev_env_windows_wsl.html.