Go to Post I know that this might be a foreign concept but teams help each other out all the time. - Al Skierkiewicz [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #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
 


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 22:26.

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