Neither Ardupilot nor PX4 seems to be able to work because of errors like “NO BARO SENSOR 0” or “Check BRD_TYPE: Baro: unable to initialise driver” or “warning: primary barometer not operational”.
I have been using both Mission Planner and QGroundControl. I am using a pixhawk 2.4.8 that is very new and has never been flown.
Is there a problem with the firmware? Is the barometer in the pixhawk defective?
What firmware version(s) are you trying? A little googling suggests these “pixhawk 2.4.8” may be older processors, and not compatible with current stable firmware version(s).
I’ve tried the latest stable version of PX4 (1.6.5) along with 1.6.3, 1.6.0, and 1.5.5. The same errors occurred in each version except 1.5.5,which caused the pixhawk to not respond and be unable to boot
According to the PX4 comparability page, the pixhawk 2.4.8 should be compatible (https://dev.px4.io/en/flight_controller/pixhawk.html)
Do I have to modify any of the internal setting like the CAL_BARO_PRIME setting which is defaulted to 0?
I think this forum is dedicated to the ArduPilot software, rather than the PX4 software. If you want to try ArduPilot (ArduCopter? ArduPlane? I don’t know your platform) perhaps we could help further.
If you want to stick with PX4 to address the issue, I think their forums are here: http://discuss.px4.io/