View Single Post
  #1   Spotlight this post!  
Unread 01-03-2012, 16:17
loafdog loafdog is offline
Registered User
AKA: Maciej
FRC #2876 (DevilBotz)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2009
Location: Burlington, MA
Posts: 35
loafdog is an unknown quantity at this point
Testing SmartDashboard Widgets without a robot

Hi,
A couple of students on my team are writing extensions for SmartDashboard. They want to work on this at home. I'm looking for a way to test the new extension.

One thing we tried with the VerticalBar tutorial example is making the class extend StaticWidget instead of Widget, change class var to different value(0->50 for example), recompile, copy to jar to extensions folder, add new widget to dash. Now the widget shows half green, half black so you can test colors and that the amount of color is half the widget.
But this is kind of tiring and time consuming.

Is there an 'easy' way to simulate a robot sending updates to the SmartDashboard? Anyone tried something like this?

Thanks.
-Maciej