Comments (8)
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.
Ok to just ifdef the existing flush()
or do you want a separate flushNow()
?
from allwpilib.
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.
@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.
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.
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.
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.
ohhhh. we'll try that.
from allwpilib.
Related Issues (20)
- Make upstream_utils update patch list during format-patch command
- All GUI apps crash when built on Windows with CMake
- Add protobuf and struct support to apriltag
- imgui should not be built for Athena
- [epilogue] Allow logging period to be configurable HOT 1
- [Epilogue] Add support for persistant variables HOT 9
- [Epilogue] Improve opt-in logging support HOT 1
- Add usage reporting ID for epilogue
- Add usage reporting ID for the LEDPattern API
- Remove empty defaults from switch statements and expressions HOT 3
- Add libssh wrapper
- Epilogue warning in RapidReactCommandBot example
- LoggerTest.addMessageTest often fails due to race conditions
- RoboRIO team number setter: display/output log
- Memory Leek When Robot Container Object is Deconstructed HOT 7
- I Would Like to Volunteer HOT 1
- Add Catch2 to upstream_utils
- Add Upload Support for Persistent Tables HOT 1
- Generated command HID classes not included in C++ build, despite being included in the build.gradle HOT 1
- Change native builds from Gradle to cmake (tracking issue) HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from allwpilib.