|
Re: Autonomous: Mixing Drive Distance PID's with Turn Angle PID's.
Thanks guys. It's been a long time since I've had one of those AH HA! moments.....
I guess I never realized how far from linear the Victors can be. We've used joystick input modification VI's in the past to make the bots easier to drive, but I never put 2 and 2 together and realized a huge portion of that issue is caused by the Victor's response.
We noticed last year that the logitech dual action game pad (at least one of them) had a hokey joystick that wasn't even close to linear. We threw that one away, but after modeling the cim response like this, I'm almost tempted to do the same to the game pad joysticks so I can linearize them too.
Here's my final result using a single 6th order polynomial.
Darn do I love learning.
(Note: The numbers between .08 and -.08 are not representative in this graph - those are our dead band and will be modified to zero output).
Last edited by Tom Line : 17-11-2011 at 19:25.
|