Quote:
Originally Posted by Ed Cohen
I realize now that I should have been more specific.
I do not know what file/project to open to try to compile SmartDashboard.
The SmartDashboard install program put some files in "C:\Program Files\SmartDashboard\", but I don't see anything there to open. Am I supposed to do something with the .jar file?
"C:\Program Files\FRC Dashboard\Launcher.bat" works and launches SmartDashboard.
In NetBeans, I can use the menu to open a new project, but I don't see any files named SmartDashboard in any of the categories (such as FRC Java).
Thanks,
Ed
|
You need the source code?
The source code isn't included with the installer. It can be found here:
http://firstforge.wpi.edu/sf/scm/do/...tdashboard/scm
First you need to set up a firstforge account. Then fire up netbeans and go to team>subversion>checkout
Paste
http://firstforge.wpi.edu/svn/repos/smart_dashboard in as the "Repository URL" and put your firstforge username and info into the boxes.
Hit next, and then press "browse" next to the "Repository Folder" box. Press the expand icon next to "tags" and then select the 2012 folder. Click OK. Check the checkbox next to "Export a clean directory tree ..." and then "Finish."
Wait for it to download.
Open the project. It'll give you an error about a missing NetworkTables library. Click "Resolve" and find the directory where you put the project you downloaded. There's a "NetworkTables" folder right next to "smartdashboard." Select the "Client" folder inside of it and press OK.
Now, if you press the "Run" button in netbeans, it'll give you a working copy, sans 2 of the camera extensions. Right clicking on the project and then "Clean and Build" will compile it and output to the "dist" folder in the project directory. I haven't figured out how to turn that into an installer yet but if you have any questions post back.
[edit] If you want the source code for the camera extensions, they can be found in the trunk repository. Follow the same instructions as above except instead of selecting "tags" select "trunk." Haven't figured out how to attach that to the main project yet either though.