Giter Site home page Giter Site logo

Comments (6)

stronnag avatar stronnag commented on July 24, 2024

I have very few OTX logs and due to weather I'm unlikely to accumulate many at the moment, so contributions of sample logs would be appreciated. Currently, the unfinished implementation seems to work in both FlightMode and RSSI mode for the few logs I have, SBUS and CRSF providers.
otx

from bbl2kml.

skorokithakis avatar skorokithakis commented on July 24, 2024

Certainly, I can enable logging on my radio and send you some.

from bbl2kml.

stronnag avatar stronnag commented on July 24, 2024

There are some test binaries in the archives below (MacOS, Linux Windows), with a separate otx2kml application (this will probably get merged back into a single BBL/OTX application in the future; for now it's easiest to keep them separate).

There are a few outstanding issues, the first of which need OpenTX 2.3.11 to be resolved:

  • CRSF logs in OpenTX 2.3.10 do not record the FM (Flight Mode) field. This makes it impossible to determine flight mode, or even if the craft is armed.
  • OpenTX creates a log per calendar day (IIRC), this means there may be multiple logs in the same file. Delimiting these individual logs is less than trivial, to some degree due to the prior CRSF issue which means arm / disarm is not reliably available. Currently, otx2kml assumes that a gap of more than 120 seconds indicates a new flight. This also means a break in telemetry of more than 120s will cause a new KML/Z to be generated. At some stage I'll make this interval configurable. It is of course possible to dream up ever more complex heuristics for this situation, but I'm reluctant to do that, as there will inevitably be some missed corner case, especially as OpenTX 2.3.11 is imminent (and the nightlies are stable / reliable).
  • No summary statistics, no current / voltage etc in popups. Work in progress.

Other than that, for the small sample of logs I have, the following is working:

  • for S.port logs, Flight Mode and RSSI mode
  • for CRSF logs, single (assumed Acro) flight mode and RSSI

Reports of both success and failure are solicited; for failure or errors it would be useful to have the original log (CSV) and an indication of what you think is wrong; corroborating information such as a matching BBL would be a bonus. Please also provide the inav and OpenTX versions if known.

A CRSF 2.3.11 (or recent nightly) log with multiple flight modes, especially nav modes) would be useful too (as would an prior CRSF log before FM got broken).

bbl2kml-0.2.0+otx-pre1-macos.zip
bbl2kml-0.2.0+otx-pre1-win32.zip
bl2kml-0.2.0+otx-pre1-linux-x86_64.tar.gz

from bbl2kml.

stronnag avatar stronnag commented on July 24, 2024

Note that the OTX implementation also suffers from #8 at the moment.

from bbl2kml.

stronnag avatar stronnag commented on July 24, 2024

Thanks to @wilco1967's sample files / testing, here's a new set of binaries which should be functionally correct, albeit still lacking summary functions (i.e addresses #8).

otx2kml-0.2.1+otx_Linux64.tar.gz
otx2kml-0.2.1+otx_MacOS.tar.gz
otx2kml-0.2.1+otx_Win32.zip

from bbl2kml.

stronnag avatar stronnag commented on July 24, 2024

release 0.8.0 / 59015dd should address this feature request, so I'm closing this issue.
The one outstanding question is completeness of support for CRSF sourced logs; this requires a sample CRSF log where the FM field is not consistently "0".

from bbl2kml.

Related Issues (13)

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.