Can't get GPS readings from Pixhawk 4 mini in "Reading GPS Data from PX4 Autopilot" Example
11 views (last 30 days)
I followed all the steps in the example and am struggling to figure out what is going wrong. I select my Hardware Board as PX4 Pixhawk 4 and my CMake config is px4_fmu-v5_multicopter (I tried with px4_fmu-v5_default as well). My output during a run is in the screenshot I added and I attached my rc.txt. Also, the drone and GPS work with the normal PX4 firmware. Thanks!
Ankur Bose on 11 Nov 2021
I suggest you use the default Pixhawk rcS as the startup script to do that. We support this in R2021b. Follow the documentation Load and Start Modules on PX4 Autopilot after Boot-Up to know more about this. Launch hardware setup in R2021b and set the startup script as mentioned in Selecting Startup Script for PX4 Autopilot