View Single Post
  #5   Spotlight this post!  
Unread 20-03-2013, 00:51
zatch bell stev zatch bell stev is offline
Registered User
FRC #2523
 
Join Date: Jan 2012
Location: vermont
Posts: 14
zatch bell stev is an unknown quantity at this point
Re: Gyro problem, please help!

Quote:
Originally Posted by Gigakaiser View Post
For example, if you know the robot is straight and want to turn 30 degrees (but your gyro drift is adding up), you could turn to gyro.getAngle() + 30.0. Another solution, as MagiChau wrote, is to reset the gyro if you know where your robot is pointed.

I already written a program for that but never get to test it because our robot is packed up and only thing i could access from our lab is bunch of sensors and a crio. does is work properly when you use it like that ?