Giter Club home page Giter Club logo

Comments (8)

PeterJohnson avatar PeterJohnson commented on August 18, 2024

The rate restriction is there to prevent overloading the wifi at events. We do not want to provide a standard way to bypass it. I would be open to figuring out a behind the scenes way that turns it off for non-Rio (eg simulation) NT servers (this could be done with an ifdef).

from allwpilib.

brettle avatar brettle commented on August 18, 2024

Ok to just ifdef the existing flush() or do you want a separate flushNow()?

from allwpilib.

brettle avatar brettle commented on August 18, 2024

Actually, I'd need it not just for servers, but clients as well. Is there an acceptable/recommended way that the client could determine that it is talking to a non-RIO server?

from allwpilib.

truher avatar truher commented on August 18, 2024

@PeterJohnson we could use really-flush-immediately too, because we use NT for perishable coprocessor-to-rio data, and we trust the coprocessors to manage their own rates. we completely don't care about wifi. is there a standard way to do immediate client flushes like that?

from allwpilib.

PeterJohnson avatar PeterJohnson commented on August 18, 2024

You can immediately client flush, but it’s rate limited. Are you really sending data updates from coprocessors more often than every 5 ms?

from allwpilib.

truher avatar truher commented on August 18, 2024

no, we're really only concerned with latency, which is already pretty high, so it if were easy to save a few ms, that would be good.

from allwpilib.

PeterJohnson avatar PeterJohnson commented on August 18, 2024

So if you call NetworkTableInstance.Flush(), it will immediately flush to network, assuming it’s been at least 5 ms since the last time the network transmit happened.

from allwpilib.

truher avatar truher commented on August 18, 2024

ohhhh. we'll try that.

from allwpilib.

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.