apps4av / avare

Avare Aviation GPS for Android
Other
154 stars 122 forks source link

ADS-B traffic shows Pressure altitude with relative altitude tag #319

Open GitUser275 opened 6 years ago

GitUser275 commented 6 years ago

Test configuration: Stratux v1.4r3 with dual SDR, AHRS with pressure sensor, but no GPS Moto G android phone with integrated GPS but no baro sensor Avare ver 7.8.5

Test condition: On ground with Moto G providing GPS position and Stratux providing an ADS-B data stream that does not include the periodic ownship report. (Statux should provide ownship report with no GPS connected and this issue has been logged by Statux)

Observation: Traffic is shown with a tag in relative altitude format but the displayed altitude value is target pressure altitude not target relative altitude. The following screen shots were taken in the order displayed. They show that AAL1246 was flying at FL360. The target tag for AAL1246 shows +36000'. Ownship GPS altitude is 1250 ft. For this condition the target tag should either have been 36000 PressA or +34750.

screenshot_2017-11-17-07-22-55 screenshot_2017-11-17-07-23-02 screenshot_2017-11-17-07-23-50 screenshot_2017-11-17-07-23-59

GitUser275 commented 6 years ago

Later the same day, with no changes to the configuration or options but after a restart of all apps, the Avare display showed pressure altitude format tags. In this condition the traffic could not be suppressed with the preferences/display/"Show ADSB traffic within given feet of aircraft". This filter had worked for the condition shown in the first post.

Note that GPS altitude (from Android phone GPS) is shown as "MSL ft" for both cases and GPS is not flagged invalid. It appears there is an inconsistency in the selection and/or validation of the altitude being used to determine if relative altitude should be used for the traffic tags.

Compare data for NKS564 which is at FL370 and which is displayed as 37000PrA'. This is a correct tag which is not using local GPS altitude for correction to relative. (I don't know if the design intent is to use GPS altitude for relative tags or if only ownship pressure altitude is used).

screenshot_2017-11-17-16-19-00 screenshot_2017-11-17-16-19-13

apps4av commented 6 years ago

Thanks. It's obviously wrong. Is it using internal GPS? What are the preferences?

On Nov 17, 2017 10:11 AM, "GitUser275" notifications@github.com wrote:

Test configuration: Startux v1.4r3 with dual SDR but no GPS Moto G android phone with integrated GPS but no baro sensor Avare ver 7.8.5

Test condition: On ground with Moto G providing GPS position and Stratux providing an ADS-B data stream that does not include the periodic ownship report. (Statux should provide ownship report with no GPS connected and this issue has been logged by Statux)

Observation: Traffic is shown with a tag in relative altitude format but the displayed altitude value is target pressure altitude not target relative altitude. The following screen shots were taken in the order displayed. They show that AAL1246 was flying at FL360. The target tag for AAL1246 shows +36000'. Ownship GPS altitude is 1250 ft. For this condition the target tag should either have been 36000 PressA or +34750.

[image: screenshot_2017-11-17-07-22-55] https://user-images.githubusercontent.com/33692670/32953541-ca6c78b0-cb6d-11e7-830f-01aeaa2927ac.png [image: screenshot_2017-11-17-07-23-02] https://user-images.githubusercontent.com/33692670/32953565-e597a2f4-cb6d-11e7-9c69-bce270405c76.png [image: screenshot_2017-11-17-07-23-50] https://user-images.githubusercontent.com/33692670/32953580-ed42be80-cb6d-11e7-9cb6-ed131485f82c.png [image: screenshot_2017-11-17-07-23-59] https://user-images.githubusercontent.com/33692670/32953598-f6a4bffa-cb6d-11e7-9e49-8e4f83018613.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/apps4av/avare/issues/319, or mute the thread https://github.com/notifications/unsubscribe-auth/ACz4z415Bc7b63gjZrdJNopBZd_ZPbZcks5s3aIPgaJpZM4QiK9w .

GitUser275 commented 6 years ago

Not sure if I should reply to this email or reply on Github.

As started in the original post:

Moto G android phone with integrated GPS but no baro sensor

On ground with Moto G providing GPS position

Not sure what preferences you need. GPS preferences are: Short period update - enabled; Warn GPS Disabled - enabled; GPS position source - All available (but there is only one available).

So - Internal GPS was in use and was not flagged invalid.

However, see second post to issue 319.

Andy