Go to Post Swerve is hard to get right. - marshall [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 20-02-2016, 11:26
faraz5557's Avatar
faraz5557 faraz5557 is offline
BB-R8ER
AKA: Faraz Masroor
FRC #5557 (BB R8ERS)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Miami, FL.
Posts: 15
faraz5557 is an unknown quantity at this point
Angry Roborealm variables not sending

Here is the code we use to access the variables"


NetworkTable server = NetworkTable.getTable("SmartDashboard");

SmartDashboard.putString("COG X", (server.getString("/SmartDashboard/COG_X", "0.0")));


Here is the network setup on the RoboRealm program: http://i.imgur.com/o3YOgUv.jpg

The variable (COG_X here) doesn't update. It stays at "0.0", the smartdashboard part doesn't change. What's going on?
Reply With Quote
  #2   Spotlight this post!  
Unread 20-02-2016, 18:07
faraz5557's Avatar
faraz5557 faraz5557 is offline
BB-R8ER
AKA: Faraz Masroor
FRC #5557 (BB R8ERS)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Miami, FL.
Posts: 15
faraz5557 is an unknown quantity at this point
Re: Roborealm variables not sending

Bumping this post. We tried looking at other threads which suggested changing the prefix, examining the IP, variable names, different methods, etc. and nothing works. Any ideas?
Reply With Quote
  #3   Spotlight this post!  
Unread 21-02-2016, 10:57
An Outlier An Outlier is offline
Registered User
AKA: Julian Bernard
FRC #5687 (The Outliers)
Team Role: Programmer
 
Join Date: Mar 2015
Rookie Year: 2015
Location: Milky Way Galexy
Posts: 31
An Outlier is an unknown quantity at this point
Angry Re: Roborealm variables not sending

MY Team is ALSO having the same problems, only with a Raspberry PI.

We can see the NetworkTables in the LabView dashboard, but according to the code on our RoboRio, our "GRIP" Table does not exist.

We also tried sending the values to a Sub-Table, and just writing the variables in the SmartDashboard table.

No matter where we put them, the LabView dashboard COULD see them, and our RoboRio code COULD NOT.

Any help would be fantastic, our team is completely stumped.
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 22:43.

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