View Single Post
  #1   Spotlight this post!  
Unread 16-02-2014, 16:27
Nunez4296's Avatar
Nunez4296 Nunez4296 is offline
Programmer
AKA: Joseph Nuņez
FRC #4296 (Trident Robotics)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Gurnee IL
Posts: 39
Nunez4296 is an unknown quantity at this point
RoboRealm NetworkTables

Hey All, quick question (maybe) here, we are having a significant amount of trouble using RoboRealm to send variables back and forth over a network to the smart dashboard. We have read many documents and tutorials and everything just seems to sparse in information to help. Can you only use the network tables if you are programming in Java? and secondly, how can I pull variables from the network tables. the code that i have written so far resembles:

distance = table->NetworkTable::GetNumber("/SmartDashboard/Distance");
SmartDashboard:: PutNumber("RoboRealm Value", distance);

we believe everything is declared correctly and we are using the
"#include "NetWorkTables/NetworkTable.h"
the problem that I believe, is that the "distance = table->..." line breaks the loop. If anyone has an idea on how to fix this, it would be greatly appreciated.
Reply With Quote