mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
EKF: print to console when starting EV fusion
This commit is contained in:
parent
349c731375
commit
f4a0f69f6e
@ -62,6 +62,7 @@ void Ekf::controlFusionModes()
|
||||
if (_time_last_imu - _time_last_ext_vision < 2 * EV_MAX_INTERVAL) {
|
||||
// turn on use of external vision measurements for position and height
|
||||
_control_status.flags.ev_pos = true;
|
||||
printf("EKF switching to external vision position fusion");
|
||||
// turn off other forms of height aiding
|
||||
_control_status.flags.baro_hgt = false;
|
||||
_control_status.flags.gps_hgt = false;
|
||||
@ -97,6 +98,7 @@ void Ekf::controlFusionModes()
|
||||
|
||||
// turn on fusion of external vision yaw measurements
|
||||
_control_status.flags.ev_yaw = true;
|
||||
printf("EKF switching to external vision yaw fusion");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user