![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
solaESKF_EIGEN
Dependencies: mbed LPS25HB_I2C LSM9DS1 PIDcontroller LoopTicker GPSUBX_UART_Eigen SBUS_without_mainfile MedianFilter Eigen UsaPack solaESKF_Eigen Vector3 CalibrateMagneto FastPWM
Diff: hil.cpp
- Revision:
- 103:fec71c2051c5
- Parent:
- 102:1c77ff6e2a85
- Child:
- 111:0fae4fbe2a80
diff -r 1c77ff6e2a85 -r fec71c2051c5 hil.cpp --- a/hil.cpp Mon Nov 08 09:20:21 2021 +0000 +++ b/hil.cpp Wed Nov 10 05:22:31 2021 +0000 @@ -45,7 +45,7 @@ if(magres > magresThreshold){ magCalibrator.updateParams(magraw,0.001f); }; - Matrix magmod = SensorAlignment*magCalibrator.outCalibratedMag(magraw); + Matrix magmod = magCalibrator.outCalibratedMag(magraw); mag.x = magmod(1,1); mag.y = magmod(2,1); mag.z = magmod(3,1);