View Single Post
  #2   Spotlight this post!  
Unread 28-09-2012, 00:27
agartner01 agartner01 is offline
Captain + Control Sys & Design
FRC #4174
Team Role: Engineer
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Hector MN
Posts: 109
agartner01 is an unknown quantity at this point
Re: Creating a Dashboard

Quote:
Originally Posted by connor.worley View Post
I disagree. There's no need to get into the nitty-gritty of socket programming. SmartDashboard should suffice.
If you really want a dashboard in c++, then you pretty much have to. When I responded, I thought that was the question that needed answering. If you don't need that then I guess I agree with your disagreement.

My team used Network Tables last season, and personally, I found them inefficient and inaccurate (which was probably more because of the bandwith problems rather than poor design), half of the time the data never was recieved... Hopefully Network Tables 2.0 will be better (the FirstForge page makes them sound so).

On the note of Qt, sockets, and c++: I actually got a system to send and recieve data values to the robot up and running in about an hour (with pretty much zero knowledge of socket programming). The TCPHelper functions really make it easy on the robot side... On the laptop side it's pretty much just socket.connectToHost(), then socket.write(), or socket.read() (without error checking, of course).

TL;DR: You can probably get by using NetworkTables, but don't be afraid of sockets...
Reply With Quote