Log in

View Full Version : Sending PIDSubsystem PID table to SmartDashboard


joelg236
13-04-2012, 21:57
Exactly what the title says. This doesnt work.
SmartDashboard.putData("Arm PID", CommandBase.arm.getTable());
and this does not either
SmartDashboard.putData("Arm PID", (SmartDashboardData)CommandBase.arm.getTable());
What's the correct format for sending networktables to the smartdashboard?

Sunstroke
14-04-2012, 17:06
SmartDashboard.putData("Arm", CommandBase.arm);

And if all goes well, you should be able to right click the widget on SmartDashboard (while in editable mode) and look at it using the PID editor.

joelg236
14-04-2012, 23:49
Thank you so much :)
Worked like a charm.