PX4 does not arm if disconnected from USB

I am new to drones, and stuck on one issue. I am able to arm quadcopter if QGC is connected through USB, but if I disconnect USB, the drone LED becomes red and does not arm. I have tried previous solutions (COM_POWER_COUNT == 0) but it does not help. I think it is some other issue. In the log analysis, I can also see errors: a) Fail safe - hole position invalid, b) take off detected without drone taking off, and few other reds. The link to log is here.

https://review.px4.io/plot_app?log=fd4e2dd4-303d-4634-9136-91fe0c49756a

Can someone pl. guide me what fix should I try?

Try enabling the COM_ARM_WO_GPS, but in the logs it shows it’s armed using RC switch.

Have you setup an ARM switch in your RC?

Yes, COM_ARM_WO_GPS is enabled already.
And yes, I have setup ARM switch on RC.

BTW, I will reset the full params and flash PX4 - and see if it helps.

Any other idea is welcome. Thanks in advance!

COM_ARM_WO_GPS should be disabled for the drone to be able to arm without GPS

Well, as per documentation (Parameter Reference | PX4 User Guide (v1.14)):


COM_ARM_WO_GPS (INT32) Allow arming without GPS
Comment: The default allows the vehicle to arm without GPS signal.
Values:

  • 0: Require GPS lock to arm
  • 1: Allow arming without GPS

I think “1” means enable. So, “enable” should allow arming without GPS check.
Am I reading documentation wrong?

In any case, I guess I should ignore QGC display value (Enable / Disable) - and check the raw value of COM_ARM_WO_GPS. If COM_ARM_WO_GPS == 1, I think it will be as desired…

1 Like

Yeah, you are right, it should be enabled for the drone to arm without GPS, my bad. Were you able to sort the issue or is it still not arming? If yes check the messages and tell what you are getting or share a log

Thanks, I was able to solve this by flashing firmware again.

1 Like