Hi! I’m writing a driver station in C++ but I can’t find the build for the client side network tables if we aren’t running win driver. Does anyone know where the new instructions / build kit are?
Is this what you’re looking for?
It has both a cmake and gradle build script, and compiles on Linux without any issues. You can select client mode with the NetworkTable::SetClientMode() call.
That looks like what I need (unless it turns out that I don’t need jquery to run the js version :D) Thanks!
There is already an open source C++ / Qt driver station that you could look at to get ideas, or even to contribute to. It is multi-platform, so looking at how it handles network communication could be helpful for your project.
Interesting, didn’t know that exists (spot on, this is a Qt project I’m working on). However, that project doesn’t use network tables at all (the entire dashboard is done, the only thing I’m missing is just letting the robot know whats happening on the dashboard). Thanks for the link! Definitely something to look at for the offseason.
I’m trying to use cmake and mingw32 to build the library, but it doesn’t seem to be compiling correctly. I know it says to use the Visual Studio compiler, but I’m not planning on using Visual Studio for my project. Here are the errors I get when I run “mingw32-make” on the command line.
Do you have your code available on GitHub? If so, I would be glad to help you out.
As a sidenote, the QDriverStation uses a separate library (also done by me :D) to handle all the client-to-robot communications, loading different communication protocols and registering joystick input. The library is also written with Qt and can be easily integrated to your project. Basically, you should only make the GUI and wire it to the library.
Links:
I decided to switch to the basics and use a QTcpSocket thanks though.