Go to Post I told people that I was a summit for world leaders for our regional. We had two that are current world leaders and over 1000 that will be ones in 2029. - Foster [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-03-2016, 07:16
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Question 2016 Clientside NetworkTables lib

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?
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)
Reply With Quote
  #2   Spotlight this post!  
Unread 01-03-2016, 07:23
restouffer's Avatar
restouffer restouffer is offline
Registered User
AKA: Bob Stouffer
FRC #2539 (Krypton Cougars)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2010
Location: Palmyra, PA
Posts: 11
restouffer is an unknown quantity at this point
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 01-03-2016, 07:59
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: 2016 Clientside NetworkTables lib

Quote:
Originally Posted by restouffer View Post
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.

That looks like what I need (unless it turns out that I don't need jquery to run the js version ) Thanks!
Reply With Quote
  #4   Spotlight this post!  
Unread 01-03-2016, 08:16
restouffer's Avatar
restouffer restouffer is offline
Registered User
AKA: Bob Stouffer
FRC #2539 (Krypton Cougars)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2010
Location: Palmyra, PA
Posts: 11
restouffer is an unknown quantity at this point
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.
Reply With Quote
  #5   Spotlight this post!  
Unread 01-03-2016, 08:58
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: 2016 Clientside NetworkTables lib

Quote:
Originally Posted by restouffer View Post
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.
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)
Reply With Quote
  #6   Spotlight this post!  
Unread 31-03-2016, 12:29
JohnM's Avatar
JohnM JohnM is offline
Registered User
FRC #5854 (Glitch)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2013
Location: North Carolina
Posts: 53
JohnM has a spectacular aura aboutJohnM has a spectacular aura about
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.
Reply With Quote
  #7   Spotlight this post!  
Unread 10-04-2016, 12:08
spat's Avatar
spat spat is offline
QDriverStation Developer
AKA: Alex Spataru
FRC #3794 (WinT)
Team Role: College Student
 
Join Date: Sep 2015
Rookie Year: 2013
Location: Mexico
Posts: 44
spat is on a distinguished road
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:
__________________
When Henry Ford made cheap, reliable cars people said, 'Nah, what's wrong with a horse?' That was a huge bet he made, and it worked. - Elon Musk
Reply With Quote
  #8   Spotlight this post!  
Unread 11-04-2016, 19:57
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: 2016 Clientside NetworkTables lib

Quote:
Originally Posted by spat View Post
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:
I decided to switch to the basics and use a QTcpSocket thanks though.
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:03.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi