mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-03 14:20:36 +08:00
Airspeed: preflight check for bad offset, fixed calls to preflight checks (vtol & airspeed)
This commit is contained in:
committed by
Lorenz Meier
parent
f092b31f54
commit
f772fc2d02
@@ -293,10 +293,10 @@ bool StateMachineHelperTest::armingStateTransitionTest(void)
|
||||
|
||||
// Attempt transition
|
||||
transition_result_t result = arming_state_transition(&status, &battery, &safety, test->requested_state, &armed,
|
||||
false /* no pre-arm checks */,
|
||||
nullptr /* no mavlink_log_pub */,
|
||||
&status_flags,
|
||||
5.0f, check_gps);
|
||||
false /* no pre-arm checks */,
|
||||
nullptr /* no mavlink_log_pub */,
|
||||
&status_flags,
|
||||
5.0f, check_gps, 2e6);
|
||||
|
||||
// Validate result of transition
|
||||
ut_compare(test->assertMsg, test->expected_transition_result, result);
|
||||
|
||||
Reference in New Issue
Block a user