Code Monkey home page Code Monkey logo

Comments (3)

TwinFan avatar TwinFan commented on May 24, 2024

172MC's hint: There's a follow-me car here. Would then need to identify the "Surface vehicles", also check how ADS-B-Exchange delivers them, probably assign a fake ICAO code and try to make the multiplayer library display it.

from livetraffic.

TwinFan avatar TwinFan commented on May 24, 2024

That car comes with ICAO "code" ZZZC. (For LT the xsb_aircrafts.txt file needs to be amended: Remove the two .png parameters in the OBJ8 line.)
Added code to identify surface vehicles and set that code...makes it display a car:

LT MATCH - ICAO=ZZZC AIRLINE= LIVERY= GROUP=
LT MATCH -    Skipping 0 Due Absent Livery
LT MATCH -    Skipping 1 Due Absent Airline
LT MATCH -    Skipping 2 Due nil Group
LT MATCH -    Skipping 2 Due Absent Livery
LT MATCH -    Skipping 3 Due nil Group
LT MATCH -    Skipping 3 Due Absent Airline
LT MATCH -    Skipping 4 Due Absent Livery
LT MATCH -    Group 5 key ZZZC
LT MATCH - Found: ZZZC// : CARS:ZZZC - 
LiveTraffic 1544737000.5 INFO  LTAircraft.cpp:871/LTAircraft: Added aircraft 896E88 (ZZZC ), a/c model 'ZZZC  CARS:ZZZC', flight model [MediumJets], bearing 71, distance 0.6km

Checking how ADSBEx handles ground vehicles...lately saw lot's of ADSBex message with no ICAO type code.

from livetraffic.

TwinFan avatar TwinFan commented on May 24, 2024

ADSBEx doesn't do it that nicely:

{
    "AltT": 0,
    "Bad": false,
    "Brng": 131.8,
    "CMsgs": 35,
    "Call": "TE24",
    "CallSus": false,
    "Cou": "Switzerland",
    "Dst": 0.41,
    "EngMount": 0,
    "EngType": 0,
    "FSeen": "/Date(1544738658942)/",
    "FlightsCount": 0,
    "Gnd": true,
    "HasPic": false,
    "HasSig": false,
    "Icao": "4B5DA5",
    "Id": 4939173,
    "InHg": 29.911417,
    "Interested": false,
    "Lat": 47.453617,
    "Long": 8.558631,
    "Mil": false,
    "Mlat": false,
    "PosTime": 1544738826959,
    "Rcvr": 1,
    "Spd": 0.0,
    "SpdTyp": 0,
    "Species": 0,
    "Sqk": "",
    "TSecs": 173,
    "Tisb": false,
    "Trak": 345.9,
    "TrkH": false,
    "Trt": 2,
    "VsiT": 0,
    "WTC": 0
}

Some further network data analysis suggests, that EngTyp == EngMount == 0 is an OK indicator, together with Gnd == true.

from livetraffic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.