Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Cannot connect from SmartDashboard() (http://www.chiefdelphi.com/forums/showthread.php?t=102766)

Thundrio 13-02-2012 23:12

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.

otherguy 14-02-2012 00:53

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.

Thundrio 14-02-2012 15:58

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?

Sunstroke 14-02-2012 21:25

Re: Cannot connect from SmartDashboard()
 
Quote:

Originally Posted by Thundrio (Post 1126550)
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.


All times are GMT -5. The time now is 11:37.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi