solaESKF_EIGEN
Dependencies: mbed LPS25HB_I2C LSM9DS1 PIDcontroller LoopTicker GPSUBX_UART_Eigen SBUS_without_mainfile MedianFilter Eigen UsaPack solaESKF_Eigen Vector3 CalibrateMagneto FastPWM
Diff: global.hpp
- Revision:
- 93:b827f78a717a
- Parent:
- 92:00460f6df439
- Child:
- 94:579e875a4244
- Child:
- 95:43717535c354
--- a/global.hpp Thu Oct 28 09:44:47 2021 +0000 +++ b/global.hpp Fri Oct 29 13:30:24 2021 +0000 @@ -79,6 +79,7 @@ // position +extern Matrix SensorAlignment; extern Vector3 rpy; // x:roll y:pitch z:yaw extern Vector3 acc; extern Vector3 accref; @@ -103,7 +104,7 @@ extern int calibrationFlag; -extern int agoffset[6]; +extern float agoffset[6]; extern float magbiasMin[3]; extern float magbiasMax[3]; extern float magbias[4]; @@ -150,5 +151,6 @@ // global.cpp extern float mapfloat(float x, float in_min, float in_max, float out_min, float out_max); - +extern void setDiag(Matrix& mat, float val); +extern void setBlockDiag(Matrix& mat, float val,int startIndex, int endIndex); #endif \ No newline at end of file