diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11a8476..79ed0f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: - run: npx nx run-many -t test --coverage - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} flags: unittests diff --git a/docs/classes/NetworkTables.html b/docs/classes/NetworkTables.html index 16f6867..8be92fb 100644 --- a/docs/classes/NetworkTables.html +++ b/docs/classes/NetworkTables.html @@ -1,5 +1,5 @@
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.
+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.
+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.
-Returns the port to connect to the robot on.
+Returns the URI of the server.
+Returns whether the robot is currently connected.
+Returns whether the robot is currently connecting.
+Static
getCreates a new NetworkTables instance if it does not exist.
+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.
+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.
-