View Single Post
  #4   Spotlight this post!  
Unread 19-01-2008, 17:56
intellec7's Avatar
intellec7 intellec7 is offline
108 programmer
AKA: Gustavo
FRC #0108 (SigmaC@ts)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2006
Location: Hollywood, Florida
Posts: 65
intellec7 is on a distinguished road
Send a message via AIM to intellec7 Send a message via MSN to intellec7
Re: My error derivative is going crazy

I am not sure if this applies to your case, but if you're integrating the gyro output to get angular position, and then differentiating it to get the change in angular position, wouldn't it be more efficient to just scale the rate output of the gyro? I think that you are differentiating the error though, I am not sure if this has any advantage. From my understanding, the D term of a PID loop is to slow down as you approach the goal, to reduce overshooting/oscillations.