mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-15 16:20:34 +08:00
commander initial class structure
This commit is contained in:
committed by
Lorenz Meier
parent
55be098e3b
commit
294fbc46a9
@@ -1111,7 +1111,7 @@ int preflight_check(struct vehicle_status_s *status, orb_advert_t *mavlink_log_p
|
||||
|
||||
bool sensor_checks = (status->hil_state == vehicle_status_s::HIL_STATE_OFF);
|
||||
|
||||
bool preflight_ok = Commander::preflightCheck(mavlink_log_pub, sensor_checks,
|
||||
bool preflight_ok = Preflight::preflightCheck(mavlink_log_pub, sensor_checks,
|
||||
checkAirspeed, (status->rc_input_mode == vehicle_status_s::RC_IN_MODE_DEFAULT),
|
||||
arm_requirements & ARM_REQ_GPS_BIT, true, status->is_vtol, reportFailures, prearm, time_since_boot);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user