View Single Post
  #5   Spotlight this post!  
Unread 20-02-2013, 18:49
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,042
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: PID loops using rate


2013 FRC WPILib (at least for Java) has added a feedforward term to the PIDController to help support using the library PID for speed control.

So this gives you other options.

Instead of integrating the PID output, you can set your feedforward gain so that the feedforward motor command corresponds roughly to what you'd expect is required for the speed you are commanding. Then tune the PID with I only (set P and D to zero) to get the steady-state accuracy.


Reply With Quote