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.
OptionalimmediateNotify: booleanWhether to immediately notify the callback of the current connection status.
A function to remove the listener.
Changes the URI of the server.
The new URI of the server.
The port to connect to the server on. Defaults to 5810.
Creates a new topic with a prefix.
The prefix of the topic.
The topic.
Creates a new topic.
The name of the topic.
The type information of the topic.
OptionaldefaultValue: TThe default value of the topic.
The topic.
Returns the port to connect to the robot on.
The port number.
Returns the URI of the server.
The robot address.
Returns whether the robot is currently connected.
Whether the robot is connected.
Returns whether the robot is currently connecting.
Whether the robot is connecting.
StaticgetCreates 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.
StaticgetCreates 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.
StaticgetGets the current log level for a specific module.
The module name ('socket', 'messenger', 'pubsub', or 'default').
The current log level.
StaticsetSets the global log level for all modules.
The log level to set.
StaticsetSets the log level for a specific module.
The module name ('socket', 'messenger', 'pubsub', or 'default').
The log level to set.
NetworkTables class for interacting with NetworkTables over a WebSocket connection.