mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 03:33:33 +08:00
commander move avionics rail voltage check out of state machine
- add preflight_check helper
This commit is contained in:
@@ -265,7 +265,6 @@ bool StateMachineHelperTest::armingStateTransitionTest()
|
||||
false /* no pre-arm checks */,
|
||||
nullptr /* no mavlink_log_pub */,
|
||||
&status_flags,
|
||||
5.0f, /* avionics rail voltage */
|
||||
(check_gps ? ARM_REQ_GPS_BIT : 0),
|
||||
2e6 /* 2 seconds after boot, everything should be checked */
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user