View Single Post
  #3   Spotlight this post!  
Unread 03-02-2008, 22:09
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,567
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: PID Troubleshooting

It sounds like your D is too high, the robot starts accelerating and the D kicks in and slows it down too much, once it slows down, the D term decreases and it accelerates again.

One way to help debug your PID loop is to have the robot print all the appropriate data with commas delimiting the values. You can then use hyperterminal to capture the data to a file, and import it into excel to graph.