Open dagar opened 5 years ago
Another interesting idea would be to query the weather data over mavlink, assuming that the GCS is internet connected.
ADS-B weather data would be yet another option.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
this issue is still worth keeping open for future work.
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.
Hello everyone! What do you think about finally implementing this feature? It's been 5 years already, and auto-calibration is available even in INAV, but it's more relevant than ever now.
We can work on this. the code looks quite simple. However, I would add a number of restrictions: 1 Calibration should start a few seconds after power on. 2 Calibration should only happen under conditions of high GPS accuracy. 2 Recalibration should occur every 10 seconds while the drone is disarm.
At startup we could (optionally) automatically calculate an appropriate QNH such that the pressure altitude agrees with the GPS altitude.
https://github.com/PX4/Firmware/blob/d36b06f779d49d8dc7387bf2b4fa3aade999ada3/src/modules/sensors/voted_sensors_update.cpp#L863-L881