Eigen Revision

Dependencies:   mbed LPS25HB_I2C LSM9DS1 PIDcontroller Autopilot_Eigen LoopTicker GPSUBX_UART_Eigen SBUS_without_mainfile MedianFilter Eigen UsaPack solaESKF_Eigen Vector3 CalibrateMagneto FastPWM

Revision:
141:725321fe2949
Parent:
140:53dbdb207542
Child:
143:53808e4e684c
--- a/global.hpp	Mon Dec 06 11:37:55 2021 +0000
+++ b/global.hpp	Fri Dec 10 10:43:50 2021 +0000
@@ -19,6 +19,9 @@
 
 // Eigen
 #include <Eigen/Dense.h>
+//#include <Eigen/Core.h>
+//#include <Eigen/LU.h>
+//#include <Eigen/Geometry.h>
 //using namespace std;
 using namespace Eigen;
 
@@ -220,5 +223,6 @@
 // global.cpp
 extern float mapfloat(float x, float in_min, float in_max, float out_min, float out_max);
 extern void setDiag(Matrix3f& mat, float val);
-extern void setBlockDiag(Matrix3f& mat, float val,int startIndex, int endIndex);
+extern void setDiag(MatrixXf& mat, float val);
+//extern void setBlockDiag(Matrix3f& mat, float val,int startIndex, int endIndex);
 #endif
\ No newline at end of file