NT update rate

Hey everybody,
If my code contains this line:

NetworkTableInstance.getDefault().setUpdateRate(0.1);

Does it means that the Limelight update rate changes to?
If so, how could i set the update rate to a specific NT entry?

Thx!

The update rate is a global setting to the instance and affects all entries (it cannot be set specifically for only certain entries). However, it only affects how fast updates are sent by the local instance to whatever it’s connected to, it doesn’t affect how fast updates are received. What this means is if this code is being run in the robot program on the RIO (which is the NT server), it will not affect how fast Limelight will send NT updates to the robot program, but it will affect how fast NT updates are sent from the RIO to the Limelight, and also how fast the Limelight NT updates are propagated to other clients (e.g. dashboards).

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.