View Single Post
  #5   Spotlight this post!  
Unread 11-02-2008, 23:45
Lynx34's Avatar
Lynx34 Lynx34 is offline
SEVENTEEN...!
FRC #1716 (Redbird Robotics)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Ashwaubenon, WI
Posts: 12
Lynx34 is on a distinguished road
Re: Attempting to Drive Straight with Gear Tooth Sensors and Gyroscope

usbcd36,

I like your solution as well; it seems to have a bit more precision, but I have a few questions. I have a few guesses as to what a 'slow loop' is, but I'm not real positive, could you clear up a bit on that? I'm a programmer by experience, not by formal education, so common terms and vocabulary sometimes (frequently) go over my head.

I'm assuming ticks are reads by the gear tooth sensor. Also, for the ErrorPrev variable, is that previous as in the previous cycle throug hthe code or previous on some kind of time interval?

Since this is tank driving where each joystick directly affects the respective motor, how will their assignments differ?

Thanks again for the reply.