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
Diff: setup.cpp
- Revision:
- 93:b827f78a717a
- Parent:
- 88:be349faa1976
- Child:
- 95:43717535c354
--- a/setup.cpp Thu Oct 28 09:44:47 2021 +0000 +++ b/setup.cpp Fri Oct 29 13:30:24 2021 +0000 @@ -17,6 +17,10 @@ lps.enableDefault(); wait_ms(100); + SensorAlignment << 1.0f << 0.0f << 0.0f + << 0.0f << 1.0f << 0.0f + << 0.0f << 0.0f << -1.0f; + pitchPID.setSetPoint(0.0); pitchratePID.setSetPoint(0.0); rollPID.setSetPoint(0.0);