|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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?
|
|
#2
|
||||
|
||||
|
Re: 2016 Clientside NetworkTables lib
Is this what you're looking for?
https://github.com/PeterJohnson/ntcore 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. |
|
#3
|
||||
|
||||
|
Re: 2016 Clientside NetworkTables lib
Quote:
That looks like what I need (unless it turns out that I don't need jquery to run the js version ) Thanks! |
|
#4
|
||||
|
||||
|
Re: 2016 Clientside NetworkTables lib
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.
|
|
#5
|
||||
|
||||
|
Re: 2016 Clientside NetworkTables lib
Quote:
|
|
#6
|
||||
|
||||
|
Re: 2016 Clientside NetworkTables lib
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.
|
|
#7
|
||||
|
||||
|
Re: 2016 Clientside NetworkTables lib
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 ) 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: |
|
#8
|
||||
|
||||
|
Re: 2016 Clientside NetworkTables lib
Quote:
thanks though. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|