View Single Post
  #3   Spotlight this post!  
Unread 08-02-2012, 14:34
Brian Selle's Avatar
Brian Selle Brian Selle is offline
Mentor
FRC #3310 (Black Hawk Robotics)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Texas
Posts: 162
Brian Selle has a spectacular aura aboutBrian Selle has a spectacular aura aboutBrian Selle has a spectacular aura about
Re: SmartDashboard Startup

Figured out question #1...

In the file 'C:\Program Files\FRC Dashboard\Launcher.bat' there is a statement that launches the SmartDashboard executable jar file:

cd "C:\Program Files\SmartDashboard"
java -jar SmartDashboard.jar competition

Remove 'competition' and the window decorations will show up.

This was a bit twisted because I have a 64-bit machine and the files are stored in several places. So here are the steps as far as I can tell:

1) run FRC Driver Station
2) it loads 'Documents\FRC\FRC DS Data Storage.ini'
3) which has a property called DashboardCmdLine to tell it what dashboard exe to run
4) if you have installed SmartDashboard it will be set to 'Program Files/FRC Dashboard/Dashboard.exe'
5) which calls 'Launcher.bat' to light off the SmartDashboard.
Reply With Quote