Go to Post Proof: Remove the motor from it's mechanical house of bondage and it will operate just fine - Mike Betts [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 10-02-2015, 14:22
amreuland's Avatar
amreuland amreuland is offline
Overworked Insomniac
AKA: Austin
FRC #2583 (Westwood Robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Austin TX
Posts: 18
amreuland is on a distinguished road
Re: NetworkTables Issues

You should have a default value with that getBoolean. Also, if the rio starts up before your program, its going to get an error, because your client has not set the value yet.

Code:
getBoolean("found_tote", false);
Use that to keep from getting error, and make sure your client is actually connecting.
__________________
RoboLib - An enhanced FRC Library http://robolib.github.io/

Lone Star Match 85 - Arena and Robot Video https://www.youtube.com/watch?v=5tgJZ-s3dIQ
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 10:53.

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