mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
[ins] fix ekf2 status flag when using external vision positionning (#3184)
This commit is contained in:
committed by
GitHub
parent
68ddea1e3f
commit
8d01b021de
@@ -418,7 +418,7 @@ static void send_filter_status(struct transport_tx *trans, struct link_device *d
|
||||
uint8_t mde = 0;
|
||||
|
||||
// Check the alignment and if GPS is fused
|
||||
if (control_mode.flags.tilt_align && control_mode.flags.yaw_align && control_mode.flags.gps) {
|
||||
if (control_mode.flags.tilt_align && control_mode.flags.yaw_align && (control_mode.flags.gps || control_mode.flags.ev_pos)) {
|
||||
mde = 3;
|
||||
} else if (control_mode.flags.tilt_align && control_mode.flags.yaw_align) {
|
||||
mde = 4;
|
||||
|
||||
Reference in New Issue
Block a user