-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thermal Calibration corrupts accelometers data to show wrong horizon roll #14717
Comments
Do you have the thermal calibration log and the generated pdf? |
If you give me info how to create them I will. |
I'm referring to the offboard calibration method described here. https://docs.px4.io/master/en/advanced_config/sensor_thermal_calibration.html#offboard_calibration |
I will make offboard calibration tomorow and give the new feedback. |
I made offboard calibration, the result is the same, all logs and params are here Is it normal that gyro and acc ids are not in the same order/numbered |
For convenience: wetransfer-c9996d.zip |
You have relatively huge offsets for the board rotation. Can you zero them and normal calibration (including board level horizon) again?
|
Yes huge board offset is set after level horizon, level horizon is bad after calibrating accelometers. |
After compiling px4_fmu-v2_default.px4 I saw that there is no TC_A_ENABLE param... |
Thanks for testing @MartinStokelj, but it's not technically resolved until #14776 is fully reviewed and merged. |
Hi, I have upload the files (Vtol_ser18AP_thermal_cal.params is done after ARM error) |
Can you attach a log from boot showing the attempted arming? |
Here it is |
Here is ulg file, I thought you wanted console log... |
That only has the raw sensor data (SDLOG_PROFILE). https://logs.px4.io/plot_app?log=f573f21d-edc0-4b32-8707-d12fb88da724 We need to see the regular logging to verify all the corrected accel data going into the estimator looks good. If you're able to re-test with a full log please try current PX4 master (after #14784 merged as a fix for this). |
I have used PX4 master, did the sensors calibration again and after that arming went ok. |
Today we did 6 flights with VTOL and all went ok. Thermal calibration works, since we didn't had to calibrate sensors after each flight. |
Fixed. |
Describe the bug
After enabling thermal calibration and calibrating the accelometers we can see horizon off for about 15 degrees roll angle.
Autopilot has 2 accelometers, LSM303D,MPU6000 and it looks like thermal calibration for both of them is somehow calculated wrong (horizon showing roll for about 15 degrees and after level horizon calibration we cant calibrate anything more, always getting error wrong direction detected).
After removing LSM303D from the board the thermal calibration gave good result since horizon was almost in level after calibrating accelometers.
Tryed on FW version 1.10.0 and 1.10.1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Thermal calibration should not corrupt the accelometer data.
Log Files and Screenshots
[Params with thermal calibration done] https://we.tl/t-5RIMulHMc5
Drone (please complete the following information):
https://www.unmannedtechshop.co.uk/product/unmanned-pixhawk-autopilot-kit/
pixhawk 2 fmuv2
Stack: PX4 Pro
Vehicle: VTOL
Version: 1.10.0
Git Revision: 4f6faac2c8000000
Additional context
pixhawk mini and fmuv5 works ok
The text was updated successfully, but these errors were encountered: