View Single Post
  #3   Spotlight this post!  
Unread 15-01-2015, 16:47
Jefferson Jefferson is offline
Registered User
AKA: Jeff Clements
FRC #0016 (Bomb Squad)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Mountain Home, AR
Posts: 258
Jefferson has a reputation beyond reputeJefferson has a reputation beyond reputeJefferson has a reputation beyond reputeJefferson has a reputation beyond reputeJefferson has a reputation beyond reputeJefferson has a reputation beyond reputeJefferson has a reputation beyond reputeJefferson has a reputation beyond reputeJefferson has a reputation beyond reputeJefferson has a reputation beyond reputeJefferson has a reputation beyond repute
Re: PIDController help

I'll add that the Set*Tolerance functions are there so that you can later call the OnTarget function to see if the controller is within your desired range. As you observed, the tolerances do not have any effect on the control loop.
If you want the controller to not control when it's in range you can check to see if the controller is on target. If it is, you can disable, else enable.