View Single Post
  #3   Spotlight this post!  
Unread 11-02-2010, 11:17
Luke Pike's Avatar
Luke Pike Luke Pike is offline
Programmer
FRC #1501 (THRUST)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Huntington
Posts: 114
Luke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to all
Re: Cross-Language Question ... Control Systems Practices ... Encoders/Gyros/Accels

Our team uses the gyro to drive straight. It may seem unnecessary, but a little difference in the speed of the motors and/or gearboxes results in the robot curving when driven straight. The gyro, despite it's drift, is capable of detecting the unwanted rotation and, after a little scaling, the error between that rotation and the desired rotation can simply be added to the motors. You'd be amazed how much this makes a difference in driving.

As for encoders, we generally use them for controlling any mechanism that is driven by a motor and requires control feedback to operate.
__________________
Twitter Profile