Thread: Gyro Oddities
View Single Post
  #5   Spotlight this post!  
Unread 30-01-2010, 23:08
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Gyro Oddities

Quote:
Originally Posted by Sauce View Post
(I'm on Rafael's Team)

so, we are in fact using the default gain on the gyro, however I do not know how to change it.
There are a few ways to do it. Here's one. If you double-click on the Gyro Open vi, you'll see a Gyro Const vi in it. Remove the wire from the top of the Gyro Const to the Gain (VoltsPerDegree/Second) at the top of the GyroDevRef bundle and replace it with your own constant that matches the device you're using.

But it's a lot easier and cleaner to use the Set Gain vi in the gyro palette.

Last edited by Alan Anderson : 30-01-2010 at 23:11.