Quote:
Originally Posted by connor.worley
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...