mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-23 22:58:10 +08:00
fix condition in ekf2Check
This commit is contained in:
committed by
Lorenz Meier
parent
d1a3590aac
commit
834ac38841
@@ -90,7 +90,7 @@ bool PreFlightCheck::ekf2Check(orb_advert_t *mavlink_log_pub, vehicle_status_s &
|
|||||||
} else if (status.pre_flt_fail_innov_vel_horiz) {
|
} else if (status.pre_flt_fail_innov_vel_horiz) {
|
||||||
mavlink_log_critical(mavlink_log_pub, "Preflight Fail: horizontal velocity estimate not stable");
|
mavlink_log_critical(mavlink_log_pub, "Preflight Fail: horizontal velocity estimate not stable");
|
||||||
|
|
||||||
} else if (status.pre_flt_fail_innov_vel_horiz) {
|
} else if (status.pre_flt_fail_innov_vel_vert) {
|
||||||
mavlink_log_critical(mavlink_log_pub, "Preflight Fail: vertical velocity estimate not stable");
|
mavlink_log_critical(mavlink_log_pub, "Preflight Fail: vertical velocity estimate not stable");
|
||||||
|
|
||||||
} else if (status.pre_flt_fail_innov_height) {
|
} else if (status.pre_flt_fail_innov_height) {
|
||||||
|
|||||||
Reference in New Issue
Block a user