View Single Post
  #6   Spotlight this post!  
Unread 15-03-2010, 11:25
dyanoshak dyanoshak is offline
Registered User
AKA: David Yanoshak
FRC #2158 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Austin, TX
Posts: 189
dyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond repute
Re: Commanding Speed in a Negative Number Results in Runaway

Hi Adam,

We were able to recreate what you're seeing on my setup here. After doing some testing we noticed that there is a small bug in the PID code that makes the reverse direction more sensitive to PID tuning.

Correct me if I'm wrong, but I bet you tuned your PID constants in the forward direction first, and then tried to move in reverse (I did the same thing). I would try tuning your PID in reverse first. It should be possible to tune in reverse, even with the bug.

I would try lowering P and possibly D and see if that helps tuning in the reverse direction. Once tuned in reverse, forward should work just as well.

We are currently working on a bug fix and the best plan of action on releasing an update if it is deemed necessary.

Thanks for your input and please keep me posted!

-David
Reply With Quote