View Single Post
  #60   Spotlight this post!  
Unread 15-01-2016, 13:06
H2O Enthusiast H2O Enthusiast is offline
Registered User
AKA: Courtland
FRC #3039 (Wildcat Robotics)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2014
Location: Louisiana
Posts: 3
H2O Enthusiast is an unknown quantity at this point
Re: We are going to Want a GRIP fourm

Quote:
Originally Posted by Peter Johnson View Post
I just tried your exact code using "GRIP/myContoursReport" (with no leading "/") and it works for me. When run with a leading "/" it doesn't work, because NetworkTable.getTable() unconditionally prepends "/" to the name you provide it.

As a side note, you really should put the operational part of your code into robotMain() instead of robotInit(), because FRCNetworkCommunication isn't getting initialized this way (you'll note it's not possible to enable your robot and the driver station says "no robot code" because you're never exiting robotInit).
By robotMain() do you mean outside the robotInit() but inside the Robot() class? Also, by operational part of my code do you mean where I publish the data?