[OUTDATED] piAware 3.5.3 image - WORKING MLAT REQUIRES MANUAL UPDATE

Discussion in 'Feeding' started by Dan, Dec 30, 2017.

Thread Status:
Not open for further replies.
  1. James

    James Guest

    ATTENTION!

    /home/pi/adsb-exchange/

    adsbexchange-mlat_maint.sh

    MLAT will no longer work due to Google shutting off altitude from latitude and longitude.

    You will need to update your altitude in that above file manually.
     
  2. Fung Sai Hou

    Fung Sai Hou New Member

    Hi Dan,

    Is this the one:-

    ALTITUDE=$(curl -s https://maps.googleapis.com/maps/ap...&'KEY=AIzaSyCd_veijCtNdVj2f4bWAVTB_lS9Wv3hvZ0 | python -c "import json,sys;obj=json.load(sys.stdin);print obj['results'][0]['elevation'];")

    Changed to:-

    ALTITUDE=100

    Thanks and I'm looking forward to hearing from you soon.

    Regards.
     
    Last edited: Feb 7, 2019
  3. Paulg

    Paulg Member

    Yes, that's the line I changed a couple of days ago on my pi and it's all working again now
     
    Fung Sai Hou likes this.
  4. Fung Sai Hou

    Fung Sai Hou New Member

    Thanks for the info.
     
  5. James

    James Guest

    Yes, just change it to whatever your altitude is in meters.
     
    Fung Sai Hou likes this.
  6. Fung Sai Hou

    Fung Sai Hou New Member

    Thanks James for the confirmation.

    Regard.
     
  7. Paulg

    Paulg Member

    @James meters or feet?? - page 1 says feet - that's what I've done :)
     
  8. James

    James Guest

    Doesn't matter, in the grand scheme .... RF moves at slightly less than 300,000 km per second or 983,571,056.43 feet per second or 186,282.397 miles per second.

    The different between 1000 feet and 1000 meters ... is withing the margin of error of calculating MLAT ...

    It's more important that clocks are synced to NTP.

    1 microsecond off, 0.000001 of a second, is 0.3 km of error.
    1 millisecond off, 0.001, is 300km.


    That being said ..

    # Feet
    alt=200

    # Meters
    alt=400m
     
  9. Paulg

    Paulg Member

    Ok James. One of the problems feeding various sites and the way the sites calculate the positions of mlat aircraft. 360Radar want the height entered very accurately and get upset if you forget to add the height of the antenna onto the height of the ground above sea level (ie 20 or 30 feet error). That's why I thought feet and meters might of made a big difference - not to worry :)
     
  10. James

    James Guest

    [REDACTED]

    :D Let's not advertise these turds.
     
    Last edited by a moderator: Mar 13, 2019
  11. James

    James Guest

    Well I tracked them down, was banned in 10 minutes and magically the global data feed they were stealing disappeared.

    All they had to do was ask, instead the Ben guy called me a troll and told me to 'prove' it, then banned me. Christ lol
     
Thread Status:
Not open for further replies.