Library for network tables that was previously being used was for network tables V2, resulting in some interesting incompatibility issues and just general poor support , as we now use network tables V4.
Potential options:
WPILib network tables websocket library
For some reason, we are currently dealing with issues of the websocket instantly opening and closing. Further inspection is needed.
Steal network tables code from advantage scope
The codebase of AdvantageScope is massive and very hard for me to understand, but with some further digging I can probably use their code (I'll have to port it to function without the rest of the AdvantageScope app framework wrapped around it).
This is being worked on in the in the use-advantage-scope-data branch, as it is the (slightly poorly named) feature branch for updating our network tables client to work correctly with the new specification.
Documentation for NT4 found here.
I will implement a basic vanilla websocket client in the app and then use logging in combination with the docs above to figure out the spec and properly read from network tables.
Library for network tables that was previously being used was for network tables V2, resulting in some interesting incompatibility issues and just general poor support , as we now use network tables V4.
Potential options: