View Single Post
  #7   Spotlight this post!  
Unread 19-01-2015, 21:01
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: Drive System Control Compensation

We typically do
x = joyx * abs(joyx); y = joyy * abs(joyy)

this squares the input giving a parabolic response while maintaining sign.

It does not protect from the driver slamming full forward to full reverse. For that, you also need to add a ramp function. The old jaguars had that built in to minimize over current issues so you may want to look up the data sheet for time constants.