pjalocha / esp32-ogn-tracker

OGN Tracker implementation on ESP32 devices
56 stars 27 forks source link

Baro and GPS altitude. #33

Open Hidvegi82 opened 3 years ago

Hidvegi82 commented 3 years ago

Hello How can I set the baro altitude or reset it before takeoff? (Heltec v2) Now: GPS: + 87.3 m Bmp280: -78.5m (1022.75hPa) Thanks!

pjalocha commented 3 years ago

You cannot. The altitude is Standard Pressure Altitude thus is referred strictly to the static pressure and so depends a lot on the weather. The difference can be quite a lot, especcially during low pressure fronts.

Hidvegi82 commented 3 years ago

Thanks for the reply. I understand and I'm sorry if I asked wrong. Wouldn’t it be possible to have a height value that I reset on the ground (or start from zero when ogn is turned on) and the baro sensor or gps would count the height gained or lost?

pjalocha commented 3 years ago

There is actually an algorithm running there which attempts to do it automatically, it is just not displayed anywhere. I will think of making it visible.

Hidvegi82 commented 3 years ago

Thank you very much!!!