Go to Post Great teams with great software have control loops. Clever teams without software have pneumatics. - Chris is me [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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: 37
loafdog is on a distinguished road
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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 20:15.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi