Quote:
Originally Posted by Hypnotoad
I was wondering if anybody knew any good tutorials for making a custom dashboard in Java. I HAVE found out about the dashboard example project, although editing it does not seem to do anything to the dashboard.
Another thing I have found out is that I can make the dashboard itself in LabView and transfer data between the two somehow. That is where I hit the dead end. I was never really great in LabView and am having trouble figuring out what I would need to change or add to the project to make it receive MY data from the robot. (I understand that something does this automatically when there are no custom clusters coming through. I would also like to know if i need to override anything to make it work).
Thanks to anyone who can help me with this.
|
Are you talking about building an entire dashboard from scratch or customizing a pre-packaged one?
The dashboard that comes by default with the driver station is done in LabView. You've got a few choices there. You can either use lowDashData, TCP/UDP, or the NetworkTables implementation that's being added to FRC LabView this year. It's not super-well documented but a couple google searches should pull up some useful materials.
http://www.chiefdelphi.com/forums/sh...d.php?t=104343
Otherwise (and this is what I recommend), you could use the SmartDashboard, which is similar except that it was designed more specifically toward Java/C++ teams. Here you would use NetworkTables for everything, basically, and it's a bit less frustrating than trying to get LabView and Java/C++ to play nicely together.