Go to Post resistance to FIRST is futile. - King Duke [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


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 12:12.

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