Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Sending PIDSubsystem PID table to SmartDashboard (http://www.chiefdelphi.com/forums/showthread.php?t=105649)

joelg236 13-04-2012 21:57

Sending PIDSubsystem PID table to SmartDashboard
 
Exactly what the title says. This doesnt work.
Code:

SmartDashboard.putData("Arm PID", CommandBase.arm.getTable());
and this does not either
Code:

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

Re: Sending PIDSubsystem PID table to SmartDashboard
 
Code:

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

Re: Sending PIDSubsystem PID table to SmartDashboard
 
Thank you so much :)
Worked like a charm.


All times are GMT -5. The time now is 10:04.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi