Go to Post The JVN/Karthik segment should have more than enough spontaneity for everyone - Matt Krass [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-02-2011, 18:51
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: Smart Dashboard - What do you think?

I haven't had a chance to try this out yet (our cRIO should have gotten here yesterday ) but it looks like it'll be really useful! So much simpler than re-compiling a LV program every time the dashboard data changes.

Have you thought at all about implementing a dashboard-robot system for communication? I'd love being able to call SmartDashboard.update(pid_i) and have a edit box appear on the screen that lets me edit the value on the robot. If not, I may brush up on my java
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
  #2   Spotlight this post!  
Unread 01-02-2011, 20:28
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Smart Dashboard - What do you think?

Quote:
Originally Posted by Radical Pi View Post
I'd love being able to call SmartDashboard.update(pid_i) and have a edit box appear on the screen that lets me edit the value on the robot.
You can sort of do this with ZomB ( you have to a tad more though), if you have AllTCP set, you can send stuff back to the robot via all the controls that support it (All that are obvious, drag the value meter for example)
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
  #3   Spotlight this post!  
Unread 01-02-2011, 20:40
sircedric4's Avatar
sircedric4 sircedric4 is offline
Registered User
AKA: Darren
no team (The SS Prometheus)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Lousiana
Posts: 245
sircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond reputesircedric4 has a reputation beyond repute
Re: Smart Dashboard - What do you think?

We got it installed and working this evening, and I am already in love. Simple to add variables and when I heard the camera will show up too it was over. Bye bye Labview finally.

I haven't figured out the save mechanism yet. I rearranged the variables the way I liked them and saved them, but when I rebooted the robot after updating code, the variables all popped up again over my other ones. I assume I have to rearrange them every time I add another variable? Does it save the config between shutdowns? Also, how do you delete a variable on the screen that isn't being updated anymore?

Overall, I'll deal with "pretty" config issues anyday for how easy this was.
  #4   Spotlight this post!  
Unread 06-02-2011, 09:50
pmalmsten pmalmsten is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2006
Location: United States
Posts: 9
pmalmsten is on a distinguished road
Re: Smart Dashboard - What do you think?

Hi Everyone,

I'm pleased to announce that a new version of the Smart Dashboard client has been posted, version 0.6.0. Here are the release notes:

Code:
Smart Dashboard Client 0.6.0
============================

* Added Compass widget. This may be selected for use with any numerical
  data type.

* Added LinePlot widget. This may be selected for use with any numerical
  data type. It may be resized by changing its widget-specific preferences.

* Added snap-to-grid view option. When enabled via the "View" drop down menu,
  all subsequent widget dragging will "snap" to a grid to ease placement.

* Added logging to a CSV (Comma Separated Values) file support.
	- This may be enabled via the GUI preferences dialog ("File" -> "Preferences").
	- Three values are logged: The time in milliseconds since the logging began, the name
	  of the field being logged, and the string representation of the field's value.
	- All timestamps are tallied according to the client computer's local clock (not the robot's
	  clock). Maximum sample time resolution is approximately 20 milliseconds. Samples sent more
	  frequently than this will be queued for transmission to the client and will therefore 
	  be marked with very similar timestamps.
	- Logging is automatically restarted when the dashboard is opened if it was previously
	  enabled. It will continue to record all key-value pairs until it is disabled
	  or the dashboard is closed.
	- When logging is enabled, the target file will be overwritten whenever the GUI
	  is restarted. If a particular log is important to you, copy it to somewhere
	  safe before restarting the dashboard!

* Fixed crash when video display is enabled when the robot camera is configured for high
  resolution video.

* Fixed bug where redundant fields are displayed on the dashboard GUI when a robot is
  restarted.
	
* Fixed bug where changing a widget to another widget type (such as TextBox to SimpleDial) would
  often cause it to be moved when it shouldn't have been.

* Reduced memory usage of robot video display feature.

*********************************************************
  Note: Save Files from Prior Versions are Incompatible
*********************************************************

Unfortunately, due to the current architecture of the profile saving and loading
routines, save files generated by a prior version of the dashboard are not compatible with
this version. We apologize for the inconvenience and plan to avoid this restriction in the
future. For the time being, however, please re-create any/all profiles with the newer
version of the client.
As usual, the latest version of the client can be download from the FirstForge page: http://firstforge.wpi.edu/sf/go/proj...tdashboard/frs

Radical Pi, I was just recently discussing that idea with some of my colleagues the other day. We will investigate that feature; it sounds quite promising.

Thanks for all of your feedback everyone! I'm pleased to have a release for you which delivers as many of your requested features as it does.

Enjoy,
~Paul Malmsten
  #5   Spotlight this post!  
Unread 06-02-2011, 11:32
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: Smart Dashboard - What do you think?

Quote:
Originally Posted by pmalmsten View Post
Code:
Smart Dashboard Client 0.6.0
============================

* Added Compass widget. This may be selected for use with any numerical
  data type.

* Added LinePlot widget. This may be selected for use with any numerical
  data type. It may be resized by changing its widget-specific preferences.

* Added snap-to-grid view option. When enabled via the "View" drop down menu,
  all subsequent widget dragging will "snap" to a grid to ease placement.

* Added logging to a CSV (Comma Separated Values) file support.
...awesome...


Quote:
Originally Posted by pmalmsten View Post
* Fixed crash when video display is enabled when the robot camera is configured for high
resolution video.
Aha! I was having this issue and thought I would just wait until the next version, you have succeeded!
Closed Thread


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 03:42.

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