View Single Post
  #5   Spotlight this post!  
Unread 06-02-2014, 21:35
gpetilli gpetilli is offline
Registered User
FRC #1559
 
Join Date: Jan 2009
Location: Victor, NY
Posts: 285
gpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to all
Re: PID Gain Scheduling/Deadband Filtering For a Non-Linear Output

we typically square the joystick inputs, not the PID outputs. PID is a linear system, which you violate with the squaring. Squaring the joystick (PID setpoint) before the PID changes the driver responsiveness but does not change the PID math. BTW: to square use newjoy= joy * abs(joy) to preserve the sign.
Reply With Quote