gbear605
20-12-2016, 15:54
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 (https://github.com/Nashoba-Robotics/SmartChart/releases), 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.
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 (https://github.com/Nashoba-Robotics/SmartChart/releases), 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.