Gets the PubSubClient instance used to establish and manage the connection to the robot.
The PubSubClient instance.
Adds a listener for robot connection status updates.
The callback to call when the connection status changes.
Optional
immediateNotify: booleanWhether to immediately notify the callback of the current connection status.
A function to remove the listener.
Creates a new topic.
The name of the topic.
The type information of the topic.
Optional
defaultValue: TThe default value of the topic.
The topic.
Static
getCreates a new NetworkTables instance if it does not exist.
The team number of the robot.
The port to connect to the robot on. Defaults to 5810.
The NetworkTables instance.
Static
getCreates a new NetworkTables instance if it does not exist.
The URI of the robot.
The port to connect to the robot on. Defaults to 5810.
The NetworkTables instance.
NetworkTables class for interacting with NetworkTables over a WebSocket connection.