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:
- 96:3645f8f9bdd3
- Parent:
- 94:579e875a4244
- Child:
- 97:2b3242c2dd85
--- a/global.hpp Mon Nov 01 09:18:07 2021 +0000 +++ b/global.hpp Tue Nov 02 14:29:21 2021 +0000 @@ -15,6 +15,7 @@ #include "LPS.h" #include "solaESKF.hpp" #include "MedianFilter.hpp" +#include "GPSUBX_UART.hpp" #define M_PI 3.141592f #define ACCEL_SSF 4096.0f @@ -61,6 +62,7 @@ extern I2C i2c; // sda, scl extern LSM9DS1 lsm; extern LPS lps; +extern GPSUBX_UART gps; // control extern Timer _t; @@ -137,6 +139,9 @@ // imu.cpp extern void getIMUval(); +//gps.cpp +extern void getGPSval(); + // hil.cpp extern void getHilIMUval(); extern void getHilGPSval();