Quote:
Originally Posted by Patrickwhite
Absolutely that's possible with the SmartDashboard.
The SmartDashboard package is edu.wpi.first.wpilibj.smartdashboard.
Data sent has a name and a value. The name is used to tie a set of values to a certain widget - if you send "Heading" as 90, then set up a widget to listen to that key, then subsequent sendings of "Heading" will go straight to that widget.
You can send booleans, ints, doubles, and Strings, as well as any class that implements SmartDashboardData. You can even make your own SmartDashboardData-implementing class, though doing so is a bit complicated.
|
Oh, cool! I was wondering what putint() and other methods did. But I won't have access to the robot until Saturday. Glad you explained!
How do you make the widgets, though?