mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-26 17:40:35 +08:00
b8dba34fd0
Reason: if you don't want preflight checks, you don't want prearm checks either (these are the circuit breakers, like usb connected check). The other changes are cleanup and rework of operations. In most cases, arming_state_transition is called with fRunPreArmChecks set to true, so no change in behavior. The cases with fRunPreArmChecks=false are: - unit tests - in_arming_grace_period=true (quick arming after disarm) - VEHICLE_CMD_PREFLIGHT_CALIBRATION (does not transition to armed)