Giter Site home page Giter Site logo

Comments (3)

scottgchin avatar scottgchin commented on August 30, 2024

Sorry been out of town. I'm not sure I follow what you mean

from delta5_race_timer.

swampmonster avatar swampmonster commented on August 30, 2024

Sorry been out of town. I'm not sure I follow what you mean

If i run the timing server with —mock the json it outputs is missing a few fields that are present when I run it “live”.

I had a discussion with live timings support about making use of the rssi_raw data to indicate the signal strength at a pass in their interface and they said that for them to add that the output from the timing server in —mock mode has to actually be representative of the data being sent when the system is “live”.

From memory when a pass is triggered while in —mock it only outputs the node and the freq while in normal working conditions it also outputs rssi_raw, rssi_peak and one or two more fields.

So my idea was to just add those values in to the simulated pass output with random data so that it mirrors what is sent during a “live” pass.

from delta5_race_timer.

swampmonster avatar swampmonster commented on August 30, 2024

I was poking around the code this morning because i was bored and i noticed that the code to do this is already in here it just isnt used in the timingserver.

https://github.com/scottgchin/delta5_race_timer/blob/master/src/delta5server/server.py#L710

Compared to:
https://github.com/scottgchin/delta5_race_timer/blob/master/src/timingserver/server.py#L243

Which emits a hardcoded json object with less data.
It looks on the surface like just changing the call in the timingserver to be the same as the other one would work but im not 100% sure on that.

from delta5_race_timer.

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.