Giter Site home page Giter Site logo

Comments (3)

brion avatar brion commented on June 10, 2024

I added some debug output to DataSender.cs and it looks like the strings are already garbage at that point, so it may be in the data marshalling via SimConnect.

airline: 0â’Ã4k2Ãíb�ÃÒ_7ÃíÀ�ÊpBÃäõŽÃöä=à flight: 133 tail: SWA133 out: XTRAFFICMSFS,3353,37.69818,-122.20931,174.5,-822.1,1,310.069,156.1,0â’Ã4k2Ãíb�ÃÒ_7ÃíÀ�ÊpBÃäõŽÃöä=à 133
airline: Skywest flight: 3357 tail: SKW3357 out: XTRAFFICMSFS,3416,37.69227,-122.32688,1515.2,-846.2,1,207.941,156.1,Skywest 3357
airline: íÀ�ÊpBÃäõŽÃöä=à flight: 2185 tail: QXE2185 out: XTRAFFICMSFS,3419,37.55457,-121.95625,16956.4,6.8,1,353.015,342.5,íÀ�ÊpBÃäõŽÃöä=à 2185
airline:  E=<	� flight: 47 tail: HAL47 out: XTRAFFICMSFS,1924,37.72932,-122.21379,12.7,0,0,132.424,7.8, E=<	� 47

SWA - Southwest
QXE - Horizon Air
HAL - Hawaiian Airlines

from fs2ff.

brion avatar brion commented on June 10, 2024

The garbage characters are consistent for a given plane across invocations, which makes me think MSFS is just sending garbage data -- if it was a marshalling problem I'd expect different garbage on different invocations as structures got re-allocated.

Worst case: heuristic check for non-ASCII characters, and count that as invalid data for the Airline field. If the source data is guaranteed to be ASCII, that should clear it up mostly. :)

from fs2ff.

brion avatar brion commented on June 10, 2024

Good news: this seems to have been resolved in the recent sim update! No longer seeing this happen, so no need to correct for it. Closing.

from fs2ff.

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.