View Single Post
  #6   Spotlight this post!  
Unread 10-03-2009, 10:32
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: EASY traction control?

Quote:
Originally Posted by grosh View Post
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.
Reply With Quote