I want to use Raspberry Pi 4B as a companion computer with Pixhawk 4 which will read sensor data from Pixhawk, run the h-infinity controller and send the computed actuator values to Pixhawk.
Is it possible to do this? I have no prior experience using a companion computer. I have read that there are different ways to communicate like using Dronekit, MAVROS, MAVProxy, etc. What is the frequency at which they communicate? Also, which would be the best way to communicate and where can I find more details about them.
I will really appreciate any help.