View Single Post
  #17   Spotlight this post!  
Unread 10-04-2006, 19:58
Don Reid Don Reid is offline
Registered User
#0997
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Corvallis, Oregon
Posts: 45
Don Reid will become famous soon enough
Re: Camera without servos

Here is a more complex PID version. I won't claim its perfect, but it works fairly well. This uses integer math, and it divides by the constants to make them less than 1.0. The "JERK" part is a kludge that we needed to get past the problem of too much friction in out drive train.
Attached Files
File Type: c junk.c (2.9 KB, 25 views)
__________________
Don Reid