View Single Post
  #8   Spotlight this post!  
Unread 10-02-2015, 16:12
mmaunu's Avatar
mmaunu mmaunu is offline
Registered User
FRC #2485 (W.A.R. Lords)
Team Role: Mentor
 
Join Date: Mar 2013
Rookie Year: 2010
Location: San Diego, CA
Posts: 89
mmaunu is a jewel in the roughmmaunu is a jewel in the roughmmaunu is a jewel in the roughmmaunu is a jewel in the rough
Re: SmartDashboard Extension

When you launch the dashboard from within the Driver Station, the Driver Station uses an ini file to determine which program to run. This ini file is located in the directory:
Code:
    C:\Users\Public\Documents\FRC
(note: the user here is "Public" for all installs)

The name of the ini file is:
Code:
FRC DS Data Storage.ini
Open up the file to edit it and change the line with DashboardCmdLine to:
Code:
DashboardCmdLine = "java -jar "C:\\Users\\mmaunu\\wpilib\\tools\\SmartDashboard.jar""
(note: be sure to change the user name to something appropriate...not mmaunu)

Inside the Driver Station, on the "Setup" tab, leave the dashboard type to "Default". By default, it will look for the command to run in the ini file.

Your extensions should be installed in the following folder:
Code:
C:\Users\mmaunu\SmartDashboard\extensions
(note: change mmaunu again and create the "extensions" folder if there isn't one already)

We create a jar file that contains our extensions and then just save the jar file to the folder above.

Hope this helps.
__________________
2014 Las Vegas (Winners with 987, 2478; Excellence in Engineering)
2014 San Diego (Finalists with 987, 3250; Quality Award)
2013 Inland Empire (Winners with 1538, 968; Excellence in Engineering Award)
2013 San Diego (Finalists with 2984, 4322; Creativity Award)
2012 Las Vegas (Finalists with 2034, 3187; Quality Award)
Reply With Quote