Thread: Gyro Turning
View Single Post
  #2   Spotlight this post!  
Unread 08-10-2013, 22:16
Pault's Avatar
Pault Pault is offline
Registered User
FRC #0246 (Overclocked)
Team Role: College Student
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Boston
Posts: 618
Pault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond reputePault has a reputation beyond repute
Re: Gyro Turning

Yes, it is definitely possible. You would probably want to use PID. The basic logic goes something like this.

The input of the PID is the gyro angle.
The setpoint of the PID is 90 degrees.
The output of the PID is 1 side of your drivetrain, and then the other side of your drivetrain should run at the exact opposite of the normal output.

Hope this helps.
Reply With Quote