mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-15 07:29:15 +01:00
OP-1406 - Revert magstate to non normalized values
This commit is contained in:
parent
1d3f9399c3
commit
8418804ce4
@ -143,9 +143,6 @@ static filterResult filter(stateFilter *self, stateEstimation *state)
|
||||
}
|
||||
|
||||
if (temp_status != MAGSTATUS_INVALID) {
|
||||
temp_mag[0] *= this->invMagBe;
|
||||
temp_mag[1] *= this->invMagBe;
|
||||
temp_mag[2] *= this->invMagBe;
|
||||
state->mag[0] = temp_mag[0];
|
||||
state->mag[1] = temp_mag[1];
|
||||
state->mag[2] = temp_mag[2];
|
||||
|
Loading…
x
Reference in New Issue
Block a user