Pre-arm Check Failure: Compass Sensor 0 Missing
-
Dear ModalAI team,
We have encountered an issue with the pre-arm check on our setup, and we would appreciate your assistance in resolving it.
Our configuration consists of an IO board connected to VOXL2, along with a DSMX RC receiver connected to the IO board using the MCBL-00005 cable. We have successfully bound the RC receiver using the following commands:
px4-qshell px4io safety_on
px4-qshell px4io bind dsmx8However, when using QGroundControl (QGC), we receive an error indicating the absence of Compass Sensor 0. In an attempt to mitigate the issue, we have made the following adjustments:
- We set SYS_HAS_MAG to 0 to disable the requirement for an electronic compass.
- We set COM_ARM_WO_GPS to 1 to allow arming without a GPS connected to VOXL2's J19 port.
Despite these modifications, the pre-arm check continues to fail. We kindly request your advice on how we can successfully pass the pre-arm check in a scenario where there is no u-blox GPS connected to VOXL2's J19 port.
Thank you for your attention to this matter, and we look forward to your guidance.
Best regards,
Will -
Dear ModalAI team,
We have encountered an issue with the pre-arm check on our setup, and we would appreciate your assistance in resolving it.
Our configuration consists of an IO board connected to VOXL2, along with a DSMX RC receiver connected to the IO board using the MCBL-00005 cable. We have successfully bound the RC receiver using the following commands:
px4-qshell px4io safety_on
px4-qshell px4io bind dsmx8However, when using QGroundControl (QGC), we receive an error indicating the absence of Compass Sensor 0. In an attempt to mitigate the issue, we have made the following adjustments:
- We set SYS_HAS_MAG to 0 to disable the requirement for an electronic compass.
- We set COM_ARM_WO_GPS to 1 to allow arming without a GPS connected to VOXL2's J19 port.
Despite these modifications, the pre-arm check continues to fail. We kindly request your advice on how we can successfully pass the pre-arm check in a scenario where there is no u-blox GPS connected to VOXL2's J19 port.
Thank you for your attention to this matter, and we look forward to your guidance.
Best regards,
Will@Will Can you also try setting EKF2_MAG_TYPE to 5?
Reading along? Create a free ModalAI Forum account to join in.
With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.
Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.
Register Login