Go to Post Competitions are won or lost far away from witnesses, ... In those long hours, is where we find inspiration in ourselves. For what inspires is not another's feats, but realize we have the power in ourselves to achieve that feat. - Mark Sheridan [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 02-13-2012, 11:12 PM
Thundrio Thundrio is offline
Dedicated Racer
FRC #3673
 
Join Date: Feb 2011
Rookie Year: 2010
Location: The Internet
Posts: 67
Thundrio is on a distinguished road
Cannot connect from SmartDashboard()

I have been unable to get my SmartDashboard to work no matter what I try. I have downloaded it and I believe it is configured correctly (it auto launches with the DS and our team number is set in preferences) but the connection widget is stubbornly staying red, not green. The Driver Station says we are connected and I can drive the robot, but the widget is staying red. Do I add anything in my code to set it up, and if not what could be wrong?

I don't care about anything right now except turning that stubborn widget green.

Thank you in advance.
__________________
Interested in a new way of playing old games?
visit http://www.speedrunslive.com for a way to make single player games multiplayer!
visit http://www.zeldaspeedruns.com to open up a new world for zelda lovers!
pm me here or at zsr for more information!
Reply With Quote
  #2   Spotlight this post!  
Unread 02-14-2012, 12:53 AM
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 429
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
Re: Cannot connect from SmartDashboard()

We've got a guide here: team2168.org/index.php/resources/programming/223-using-smartdashboard

If it still doesn't work after that, make sure you've got local dashboard selected on the driverstation "Steup" tab.

We've also had issues with the windows firewall on some machines. Try disabling your firewall and antivirus software.
__________________
http://team2168.org
Reply With Quote
  #3   Spotlight this post!  
Unread 02-14-2012, 03:58 PM
Thundrio Thundrio is offline
Dedicated Racer
FRC #3673
 
Join Date: Feb 2011
Rookie Year: 2010
Location: The Internet
Posts: 67
Thundrio is on a distinguished road
Re: Cannot connect from SmartDashboard()

Alright I have tried following that guide a few times, but the connection indicator does not want to light up (the only thing relating to SmartDashboard() in my code is the import...SmartDashboard.

I have verified that the the driver station is set to use the local dashboard. I have windows firewall disabled but I have not tried disabling my third party antivirus (I will when I get out to the lab), although it was not working when we tried using the FRC Classmate, and I don't believe there is any sort of anti-virus enabled on that computer (I use my personal laptop mostly during testing because it is faster).

Any other tips?
__________________
Interested in a new way of playing old games?
visit http://www.speedrunslive.com for a way to make single player games multiplayer!
visit http://www.zeldaspeedruns.com to open up a new world for zelda lovers!
pm me here or at zsr for more information!
Reply With Quote
  #4   Spotlight this post!  
Unread 02-14-2012, 09:25 PM
Sunstroke Sunstroke is offline
Programmer
AKA: Joe Grinstead
FRC #3504 (Girls of Steel)
Team Role: Mentor
 
Join Date: Apr 2009
Rookie Year: 2009
Location: New England
Posts: 49
Sunstroke is an unknown quantity at this point
Re: Cannot connect from SmartDashboard()

Quote:
Originally Posted by Thundrio View Post
Any other tips?
The SmartDashboard will not be able to connect to the robot unless the robot attempts to connect to the SmartDashboard.

put a simple SmartDashboard.putInt("test", 4); on the robot and see if that starts the connection.
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 08:57 AM.

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