mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-29 03:36:07 +08:00
commander run preflight immediately (#11018)
- partially addresses #11017
This commit is contained in:
@@ -1428,6 +1428,9 @@ Commander::run()
|
|||||||
|
|
||||||
arm_auth_init(&mavlink_log_pub, &status.system_id);
|
arm_auth_init(&mavlink_log_pub, &status.system_id);
|
||||||
|
|
||||||
|
// run preflight immediately to find all relevant parameters, but don't report
|
||||||
|
preflight_check(false);
|
||||||
|
|
||||||
while (!should_exit()) {
|
while (!should_exit()) {
|
||||||
|
|
||||||
transition_result_t arming_ret = TRANSITION_NOT_CHANGED;
|
transition_result_t arming_ret = TRANSITION_NOT_CHANGED;
|
||||||
|
|||||||
Reference in New Issue
Block a user