Go to Post "The rio has a boulder sized hole though it? *shrug* Just duct tape it. That doesn't let the code out, right?" - Bkeeneykid [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 15 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 02-14-2015, 09:38 PM
cstelter cstelter is offline
Programming Mentor
AKA: Craig Stelter
FRC #3018 (Nordic Storm)
Team Role: Mentor
 
Join Date: Apr 2012
Rookie Year: 2012
Location: Mankato, MN
Posts: 77
cstelter will become famous soon enough
Re: PID Commands and PID Editors

Our subsystem controllers would show up in Live Window, but then when hitting the green/red enable button, nothing would happen. We had print statemenets in the usePIDOutput and returnPIDInput and they were never called with the enable flag being green or red. Perhaps we were just trying to use it wrong. I'm not sure. During Teleop though, we saw the PID subsystems were running fine.

This was using SFX Live Window. We finally just pushed past the problem by using some SmartDashboard.putNumber/getNumber calls for P, I, D, and Setpoint and a special command that reads them and then reset the PID.

We have about 4 more PIDs to tune, so figuring out the problem would save us a bit of effort. Anyone have similar experience?

We use RobotBuilder and the calls to LiveWindow.addActuator (not addSensor as suggested in previous case) are automatically generated.

Does anyone have a suggestion?

In scanning PIDCommand (we have only two) I don't see that RobotBuilder automatically puts one on LiveWindow. Is there a difference between calling AddActuator with 3rd argument getPIDController() and calling AddSensor? If so, perhaps this is just a bug in RobotBuilder's boilerplate for PIDSubsystem.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:30 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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