View Single Post
  #2   Spotlight this post!  
Unread 07-03-2006, 21:10
Hutch Hutch is offline
NOTAG
FRC #0461 (Westside Boiler Invasion)
Team Role: Programmer
 
Join Date: Jul 2005
Location: Indiana
Posts: 69
Hutch will become famous soon enoughHutch will become famous soon enough
Re: Keeping a certain heading using a gyro

Well, it may or may not work entirely depending on how much play there is inyour drive train, how hard you turn left and right, and a bunch of other issues. The general idea is right though - you just may need some P, PI or PID control instead of using some set turn speed.

PS: I didn't use Kevin's gyro code this year so I don't know about the snippet there; however, the idea is in general correct.