Log in

View Full Version : How to build the SmartDashboard?


Michael_Lee
12-03-2012, 13:03
SmartDashboard has a bug where you need to press 'Enter' to send a value over to via 'GetString' or something similar -- the Enter key is also the binding to put the robot in Disabled mode.

Team 694 submitted a patch (http://firstforge.wpi.edu/sf/go/artf1451?nav=1&_pagenum=1&returnUrlKey=1331571177575), but as far as I know, it hasn't been applied to the repository and no file releases have been published on firstforge after the patch was submitted -- the patch was submitted in February 12th, but the last file release was updated in January and the repository in February 4th.

I was able to download a copy of the repo and apply the patch, but I'm fairly new to Java -- I have no clue how to build it. I tried installing NetBeans and building the smartdashboard project, but it complained of unresolved references.

Could somebody either give me instructions on how to build smartdashboard or provide a link to a download of the client with the patch applied?

Michael_Lee
15-03-2012, 11:07
For future reference, I figured out how to do it. You need to first download the following project from the repo before attempting to build it.

http://firstforge.wpi.edu/svn/repos/smart_dashboard/trunk/NetworkTable/Client/Java/trunk

Sunstroke
15-03-2012, 15:05
If you don't want to build anything, then you can use the extension linked to in this post (press the arrow after Sunstroke in the quote box to go to the post):
Alright, I've created an extension which will simulate the enter key being pressed on the SmartDashboard when you push a button.

To use it, download the attached .zip, pull the .jar out of it and put it into "\Program Files\SmartDashboard\Extensions", then run the SmartDashboard.

Select "View/Add.../Enter Key" and there will be a button you can use.

agartner01
18-03-2012, 00:43
I recently built the dashboard with the patch you mentioned. You can find the jar here:

http://www.chiefdelphi.com/forums/showthread.php?t=101268

No promises, I don't have a robot to test it on, but give it a try and see if it works. If you still want to know how to compile it yourself, I'd be more than happy to help you. Just reply so I know you still care.