View Single Post
  #7   Spotlight this post!  
Unread 09-02-2017, 22:53
BertTurtle BertTurtle is offline
Registered User
FRC #5940
 
Join Date: Apr 2016
Location: Burlingame, CA
Posts: 9
BertTurtle will become famous soon enough
Re: Issues with retrieving NetworkTables

I was able to fix the problem. NetworkTable.setServerMode() is automatically done in the robot code which causes the code to crash if you call NetworkTable.setClientMode().

I removed NetwokTable.setClientMode() from the robot code and put it on the coprocessor instead. I also moved NetworkTable.setIpAddress() to the coprocessor.
Reply With Quote