AP_NavEKF2: fixed multi-core yaw reset
thanks to Alex Burka for finding this
This commit is contained in:
parent
fcccdcc936
commit
dc32f7a12f
@ -1693,7 +1693,7 @@ bool NavEKF2::isExtNavUsedForYaw() const
|
||||
void NavEKF2::requestYawReset(void)
|
||||
{
|
||||
for (uint8_t i = 0; i < num_cores; i++) {
|
||||
core[primary].EKFGSF_requestYawReset();
|
||||
core[i].EKFGSF_requestYawReset();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user