Go to Post If by hazardous you mean thinking about robots 24/7, waking up at 2am in the morning to jot some ideas down, completely losing your social life, and staring at a computer until your eyes hurt, then yeah! :D - looneylin [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-04-2012, 19:22
thecakeisalie's Avatar
thecakeisalie thecakeisalie is offline
Registered User
FRC #0293
 
Join Date: Mar 2012
Location: Pennington
Posts: 37
thecakeisalie is an unknown quantity at this point
SmartDashboard with Iterative?

Just out of curiosity, is it possible to use smartdashboard with interative? (Without the commandbase parts). If it is possible, how?
Having tried to use commandbase several times, i find myself switching back to Iterative, and then deciding to rewrite commandbase because smartdashboard makes everything so much more convenient.
Reply With Quote
  #2   Spotlight this post!  
Unread 11-04-2012, 09:44
Lalaland1125 Lalaland1125 is offline
Registered User
AKA: Ethan Steinberg
FRC #2429
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: La Canada
Posts: 29
Lalaland1125 is an unknown quantity at this point
Re: SmartDashboard with Iterative?

You simply write a SmartDashboardData class and use SmartDashboard.putData to send custom objects to the SmartDashboard.

On the driver station side you create a widget that registers for the type that you are sending.
Reply With Quote
  #3   Spotlight this post!  
Unread 11-04-2012, 16:43
thecakeisalie's Avatar
thecakeisalie thecakeisalie is offline
Registered User
FRC #0293
 
Join Date: Mar 2012
Location: Pennington
Posts: 37
thecakeisalie is an unknown quantity at this point
Re: SmartDashboard with Iterative?

Doesn't doing that in commandbase automatically create a widget? So are you saying that with iterative, you would have to create a widget manually?
Reply With Quote
  #4   Spotlight this post!  
Unread 11-04-2012, 17:41
Sunstroke Sunstroke is offline
Programmer
AKA: Joe Grinstead
FRC #3504 (Girls of Steel)
Team Role: Mentor
 
Join Date: Apr 2009
Rookie Year: 2009
Location: New England
Posts: 49
Sunstroke is an unknown quantity at this point
Re: SmartDashboard with Iterative?

Quote:
Originally Posted by thecakeisalie View Post
Doesn't doing that in commandbase automatically create a widget? So are you saying that with iterative, you would have to create a widget manually?
You can use SmartDashboard without using the command parts of WPILibJ.

For instance, you can put doubles in by using SmartDashboard.putDouble(...) and take them out by using SmartDashboard.getDouble(...)
Reply With Quote
Reply


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 11:41.

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