Closed realtimepeople closed 1 year ago
Adaption to lib changes. Recognition of modified configuration file format.
Tested with Build Configuration "Release"
EEPROM DUMP checked. Values differ. NOK 20 Mag_Declination = 6.042481e-2 21 Mag_Inclination = 1.148071e0 Values in sensor_config.txt 20 Mag_Declination = 3.5 21 Mag_Inclination = 66 Test without SD-Card: System works as expected. OK Test with configuration roll angles:
45° Roll angle configuration. AHRS barely changed. NOK sensor_config.txt : 01 SensTilt_Roll = 45 230322_165800.EEPROM: 01 SensTilt_Roll = 7.800293e-1
45° Nick angle configuration: AHRS barely changed. NOK sensor_config.txt: 02 SensTilt_Nick = 45.0 230322_170130.EEPROM: 02 SensTilt_Nick = 7.800293e-1
45° Yaw angle configuration: AHRS barely changed. NOK sensor_config.txt: 03 SensTilt_Yaw = 45 230322_170544.EEPROM: 03 SensTilt_Yaw = 7.800293e-1
Test magnetic calibration feature by putting an file "magnetic.calibration" on the sd card. The sensore writes a "before_calibration.EEPROM" file. With this content: 10 Mag_X_Off = -2.645874e-1 11 Mag_X_Scale = 1.706116e0 12 Mag_Y_Off = 3.601074e-2 13 Mag_Y_Scale = 9.996338e-1 14 Mag_Z_Off = 1.620483e-1 15 Mag_Z_Scale = 1.193054e0 16 Mag_Calib_Err = 3.463287e-3 17 Mag_Auto_Calib = 1.000000e0 How did these values made it into the EEPROM as the sensor was never airborne or ground calibrated? NOK The calibration itself seems to never finish. after_calibration.EEPROM is never written. Variometer output never switches to the distortion mode. A short instruction manual shall be added to the Readme.md.
Test mit Commit : 5b7b17a flash via DFU:
Erneuter Test der magnetischen Boden Kalibrierung mit den Dateien:
Serielle Ausgabe (Monitor in OpenSOAR)
Vergleich before / after_calibration.EEPROM Dateien.
TAS, IAS = 0 handling to avoid FPU faults.
Checklist before merging
Hardware test