1
0
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:
Alessio Morale 2014-08-25 16:00:33 +02:00
parent 1d3f9399c3
commit 8418804ce4

View File

@ -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];