Smart Dashboard Standalone/Vision Installer
This article details the installation of the SmartDashboard with Vision extensions, including the configuration of the Driver Station necessary to launch the installed dashboard.
Download the latest Installer
Download the latest version of the installer from this page. As of the last revision of this guide, the latest installer is version 1.0.3
Locate Driver Station Configuration
Locate the FRC DS Data Storage.ini file on your PC. On Windows 7 this file should be located in C:\Users\Public\Documents\FRC and on Windows XP it should be in C:\Documents and Settings\All Users\Shared Documents\FRC). Double click on the file to open it in Notepad.
Modify the DashboardCmdLine
Locate the line beginning with DashboardCmdLine and modify it to point to the installed SmartDashboard (note that the SmartDashboard is installed to Program Files on both 32 and 64 bit machines, not Program Files (x86)!). Note the double quotes and double slashes used. The Driver Station should now launch the Smart Dashboard automatically.
Adding a Camera Image to the SmartDashboard
To add a camera image to the SmartDashboard, click View >> Add >> Camera. The camera IP address will default to 10.XX.YY.11 where XXYY is the 4 digit version of the configured team number. If you need to change this IP, make sure the Dashboard is set to Editable (also in the View menu), then right click on the Camera widget and select Properties.
Possible problems getting the camera to work
If you are using the camera plugin for SmartDashboard there are a few common errors that prevent it from working:
- Be sure that you have set the camera for Anonymous viewing from the previous step.
- Be sure to add the camera as shown a few steps back with the correct IP address.
- Be sure to run the version of the SmartDashboard from the start menu - not the one in the sunspotfrcsdk/tools folder.
Camera not appearing on 64-bit Windows systems
If you try to load the camera extension and everything is configured correctly as shown in the previous steps, the problem might be a mismatch between the SmartDashboard extensions and your JVM. Run the SmartDashboard in the CMD window as shown here. If you see the error shown here, then the problem is that it is running with a 64-bit JVM and trying to load 32-bit plugins.
- Change the current directory to the SmartDashboard installation directory.
- Run the SmartDashboard using the "java -jar" command.
- If you see this error, then the problem is the 64-bit JVM.
Running the SmartDashboard with 32 bit Java
If you have both the 64 bit and 32 bit Java installed on your system, you can create a .CMD (command) file that will run SmartDashboard using the 32-bit Java installation. Find the 32-bit Java installation, probably in \Program Files (x86)\Java\jre7\bin\javaw.exe and note the path to javaw.exe. Then create a command file in the SmartDashboard installation directory (\Program Files\SmartDashboard) that is as shown in the illustration above. Make sure the paths in this file match the ones on your system. You can then copy and paste this command file to the Start Menu on your system and use it when you need to run SmartDashboard.
We'll try to have a better solution for this soon, but this will get you going.