|
Re: We got Sockets working
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.
You can make your own widget to display data received any way you like.
__________________
while(!going.isTough());
tough.exit();
What will we do tonight, Warfa?
The same thing we do every night, Patrick. Sit and wait for Electrical.
Last edited by Patrickwhite : 19-01-2012 at 21:21.
|