Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   SmartChart (Graphing Plugin for SmartDashboardFX) (http://www.chiefdelphi.com/forums/showthread.php?t=152756)

gbear605 20-12-2016 15:54

SmartChart (Graphing Plugin for SmartDashboardFX)
 
As we've used SmartDashboard 2.0 (SFX) over the last two years, we've found that the built-in graphing utility just isn't good enough, so we made our own version.

It can be found at https://github.com/Nashoba-Robotics/SmartChart

Advantages:
  • Graphs based on time, instead of based on when a new data point is sent to the dashboard
  • Graph can be reset
  • Graph can show multiple data sets simultaneously, by sending SmartDashboard a string with the format "[var1]:[var2]:[var3]". Eg. "1.0:2.3:5.6"
  • Graph can export data to a csv file in the location USER_HOME_DIRECTORY/SmartDashboard/VARIABLE_NAME.csv

To install, download the most recent release, and move the .jar to your USER_HOME_DIRECTORY/wpilib/tools/plugins/ folder.


BONUS: In the repo, there's also a SmartDashboard USB Camera extension that flips the image upside down, so if you have an upside-down camera on your robot, the output is more useful for your drivers.

euhlmann 20-12-2016 16:07

Re: SmartChart (Graphing Plugin for SmartDashboardFX)
 
We used this last year. It was super useful (even when the rest of SFX wasn't really all that great) :)


All times are GMT -5. The time now is 04:50.

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