Go to Post You are not limited by your resources, but by your imagination. - John Gutmann [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 08-01-2015, 19:29
Stuart Hunt Stuart Hunt is offline
Registered User
FRC #5160
 
Join Date: Feb 2014
Location: United States
Posts: 13
Stuart Hunt is an unknown quantity at this point
SmartDashboard not connecting to robot.

Our roboRIO is working fine, and we're able to wirelessly deploy Java code and drive it around, but the SmartDashboard won't connect to the robot. When we add a connection indicator, it just stays red. I tried un-installing the SmartDashboard and then reinstalling it by following the online instructions. The latest version I could find was 1.05, but it says it was created in 2013... After reinstalling it, somehow it did not prompt me for my team number, it remembered from last time. In addition, the preferences menu doesn't have an option that the instructions say it should have. It has no "use mDNS" checkbox. This makes me think that the preferences file didn't get deleted when I uninstalled it.
I also tied installing the SmartDashboard 2.0, but that didn't work either. None of the SmartDashboard code values would appear.
We were able to successfully use the SmartDashboard last year. Does anyone know what we can do to fix this?
Reply With Quote
  #2   Spotlight this post!  
Unread 08-01-2015, 19:32
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,561
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: SmartDashboard not connecting to robot.

the latest versions of both SmartDashboard and sfx (SmartDashboard 2.0) are installed automatically by the plugins.

The location is referenced here: http://wpilib.screenstepslive.com/s/...smartdashboard. SmartDashboard can also be launched from the wpilib menu in eclipse (sfx launching is currently broken using the wpilib menu).
Reply With Quote
  #3   Spotlight this post!  
Unread 08-01-2015, 19:33
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: SmartDashboard not connecting to robot.

Where is the SmartDashboard.jar located? The new one should be located in "<USER_DIR>/wpilib/tools".
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
Reply With Quote
  #4   Spotlight this post!  
Unread 08-01-2015, 19:39
Stuart Hunt Stuart Hunt is offline
Registered User
FRC #5160
 
Join Date: Feb 2014
Location: United States
Posts: 13
Stuart Hunt is an unknown quantity at this point
Re: SmartDashboard not connecting to robot.

That instructional page says to download the SmartDashboard here: http://firstforge.wpi.edu/sf/frs/do/.../frs.installer
The latest version available there is from 2013.

We deleted every copy of the SmartDashboard we had in an attempt to reinstall it from scratch using that download page.
Reply With Quote
  #5   Spotlight this post!  
Unread 08-01-2015, 19:44
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,561
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: SmartDashboard not connecting to robot.

Quote:
Originally Posted by Stuart Hunt View Post
That instructional page says to download the SmartDashboard here: http://firstforge.wpi.edu/sf/frs/do/.../frs.installer
The latest version available there is from 2013.

We deleted every copy of the SmartDashboard we had in an attempt to reinstall it from scratch using that download page.
What page are you looking at? I think you're looking at the 2014 page, not the 2015 page I linked above.
Reply With Quote
  #6   Spotlight this post!  
Unread 08-01-2015, 19:45
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: SmartDashboard not connecting to robot.

You shouldn't need to install anything separately. For me, it was installed when I installed the Eclipse plugins.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
Reply With Quote
  #7   Spotlight this post!  
Unread 08-01-2015, 19:55
Stuart Hunt Stuart Hunt is offline
Registered User
FRC #5160
 
Join Date: Feb 2014
Location: United States
Posts: 13
Stuart Hunt is an unknown quantity at this point
Re: SmartDashboard not connecting to robot.

I already have the eclipse plugins. Should I reinstall those?

The link you put above says this: "download the latest installer package from this page"
Reply With Quote
  #8   Spotlight this post!  
Unread 08-01-2015, 20:00
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: SmartDashboard not connecting to robot.

Quote:
Originally Posted by Stuart Hunt View Post
I already have the eclipse plugins. Should I reinstall those?

The link you put above says this: "download the latest installer package from this page"
If you deleted the SmartDashboard.jar from the wpilib/tools folder, then I would reinstall the plugins.

You shouldn't download anything from the FIRSTForge site because everything on there is old now. I think the link on the Screensteps might be a mistake.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
Reply With Quote
  #9   Spotlight this post!  
Unread 08-01-2015, 20:03
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,561
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: SmartDashboard not connecting to robot.

Quote:
Originally Posted by Stuart Hunt View Post
I already have the eclipse plugins. Should I reinstall those?
Are you saying you deleted the version of SmartDashboard that was installed with the plugins while you were deleting SmartDashboard versions? If not, then it should not be necessary.

Quote:
Originally Posted by Stuart Hunt View Post
The link you put above says this: "download the latest installer package from this page"
Sorry, you're right. Ignore that sentence and follow the rest of the instructions. It tells of at least two ways to run SmartDashboard that was installed with the plugins. A third is to use the WPILib menu in eclipse.
Reply With Quote
  #10   Spotlight this post!  
Unread 08-01-2015, 20:06
Stuart Hunt Stuart Hunt is offline
Registered User
FRC #5160
 
Join Date: Feb 2014
Location: United States
Posts: 13
Stuart Hunt is an unknown quantity at this point
Re: SmartDashboard not connecting to robot.

Yeah, it looks like we deleted the SmartDashboard version that came with the plugins. I'll try reinstalling the plugins, and I'll let you know if it doesn't work.
Thanks!
Reply With Quote
  #11   Spotlight this post!  
Unread 08-01-2015, 22:12
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 146
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
Quote:
Originally Posted by Stuart Hunt View Post
Yeah, it looks like we deleted the SmartDashboard version that came with the plugins. I'll try reinstalling the plugins, and I'll let you know if it doesn't work.
Thanks!
The plugins check for the existence of the files that should be there on startup and restore anything missing, you should be able to just restart eclipse to get it back. I just tested removing the SmartDashboard jar and it came back on restart.
Reply With Quote
  #12   Spotlight this post!  
Unread 08-01-2015, 22:40
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 588
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: SmartDashboard not connecting to robot.

You need to stop eclipse, delete the entire WPILib folder from your user home directory, and rerun eclipse. It will notice that the folder is missing and recreate it along with the tools directory. Inside there is SmartDashboard, sfx, and the other tools. Those will always be up to date (at least as up to date as the plugins) you are running.
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
  #13   Spotlight this post!  
Unread 09-01-2015, 15:29
Stuart Hunt Stuart Hunt is offline
Registered User
FRC #5160
 
Join Date: Feb 2014
Location: United States
Posts: 13
Stuart Hunt is an unknown quantity at this point
Re: SmartDashboard not connecting to robot.

Well the good news is that now the SmartDashboard works. I deleted the wpilib folder and it was replaced with the latest SmartDashboard.jar. The sfx also works too.
The bad news is that now we can no longer deploy our code... I have no clue why this spontaneously doesn't work.
Buildfile: C:\Users\Developer\Dropbox\1Robotics\FRC2015\FRC20 15\build.xml

BUILD FAILED
C:\Users\Developer\Dropbox\1Robotics\FRC2015\FRC20 15\build.xml:28: Cannot find C:\Users\Developer\Dropbox\1Robotics\FRC2015\FRC20 15\${wpilib.ant.dir}\build.xml imported from C:\Users\Developer\Dropbox\1Robotics\FRC2015\FRC20 15\build.xml

Total time: 2 seconds
Reply With Quote
  #14   Spotlight this post!  
Unread 09-01-2015, 16:15
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: SmartDashboard not connecting to robot.

Try setting the team number or tools version in the WPILib Preferences menu. This fixed the problem for us.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
Reply With Quote
  #15   Spotlight this post!  
Unread 09-01-2015, 16:46
Stuart Hunt Stuart Hunt is offline
Registered User
FRC #5160
 
Join Date: Feb 2014
Location: United States
Posts: 13
Stuart Hunt is an unknown quantity at this point
Re: SmartDashboard not connecting to robot.

Thanks, everything works now!
It had lost our team number.
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 11:14.

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