View Single Post
  #1   Spotlight this post!  
Unread 20-12-2016, 15:54
gbear605's Avatar
gbear605 gbear605 is offline
Scarebear
FRC #1768 (Nashoba Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: United States
Posts: 30
gbear605 is an unknown quantity at this point
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.
Reply With Quote