-
Notifications
You must be signed in to change notification settings - Fork 36
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
Convert Pressure Altitude to Geometric Altitude #12
Comments
Current thinking - It looks like the Geo Alt messages are coming in from PiAware... but the adsb-mqtt bridge container may not be processing them. Going to dig some more. It happens here: The messages from PiAware/dump1090 are in a format called sbs-1. I got my parser from here: |
Confirmed - having the H in there caused some a ParseInt call to fail. I will see if I can add something more graceful so it will remove any letters from the value first |
OK - I added in a little re.findall to extract the first set of numbers. seems to work now and is pulling in the Geo Alt |
JACKPOT! It is doing an amazing job of directly centering the middle on a plane. |
ADS-B altitude is reported as pressure altitude, not geometric altitude. A conversion will have to be done, and may require a barometer at the base station.
Note: this is critical for aiming accuracy for near tracking. Large slant ranges will minimize the practical impact of this effect.
The text was updated successfully, but these errors were encountered: