View Single Post
  #10   Spotlight this post!  
Unread 25-01-2005, 13:14
Rich Petras's Avatar
Rich Petras Rich Petras is offline
Registered User
#0691 (Hart Burn)
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Santa Clarita, CA
Posts: 4
Rich Petras is on a distinguished road
Re: PID code questions

Quote:
Originally Posted by gwross
Could this be the phenomenon we saw at kickoff? When Dave gave the 'bot a nudge and it corrected itself, it overshot before it settled at the target orientation.

Well, not really. The gyro turn is not really a PID loop it is just turning until
it moves to the correct orientation within an error band. We set the error band
pretty tight so it overshot just a little. Check out cmd_turn() in robot.c.