![]() |
NetworkTables not refreshing
I am using grip with networktables and I do not think I am setting it up properly. Here is my code:
Code:
package org.usfirst.frc.team2847.robot.subsystems; |
Re: NetworkTables not refreshing
Possibly related, I currently have the GRIP SmartDashboard plugin, I have a contour drawn on my screen and it is stuck and not updating. Could this be part of the issue?
|
Re: NetworkTables not refreshing
I rebooted the computer, now the GRIP extension doesn't display the frozen info on the screen, but if I open outline viewer I can see the NetworkTable is filled with information. When I run my code and try to output the contents of the table, my code instead says that the array is empty. How do I point the NetworkTable to localhost?
|
Re: NetworkTables not refreshing
Well it looks like I'm just talking to myself here, but if anyone else stumbles upon this, the issue is, GRIP can push the values to localhost, but network tables only reads the roboRIO-2847-FRC.local, so the fix is pointing GRIP at the roboRIO not localhost. Also make sure to put NetworkTable.setServerMode() in the robotInit().
|
Re: NetworkTables not refreshing
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. |
| All times are GMT -5. The time now is 08:58 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi