Quote:
Originally Posted by grosh
Alan,...Could you post your joystick limit code you were using?
|
It was essentially what Cuse posted. I hadn't discovered feedback nodes yet, so I used a shift register instead. Our maximum delta (constant 0.05 in his diagram) was taken from the joystick throttle (axis 3), increased by 1 and divided by -2 in order to make full "down" produce zero and full "up" produce 1.
At one point we tried modifying the delta based on the tick count, but the 50 cycles per second of the DS-to-cRIO communication was reliable enough to make it unnecessary.