Thread: Gyro gets lost
View Single Post
  #1   Spotlight this post!  
Unread 29-01-2015, 19:04
SteveS's Avatar
SteveS SteveS is offline
Registered User
FRC #2594
 
Join Date: Jan 2015
Rookie Year: 2007
Location: Idaho
Posts: 5
SteveS is an unknown quantity at this point
Gyro gets lost

We are new at using gyro, but have tried to read up on them. We are using C++ and are reading back the angle from a gyro. We are using the KoP gyro that is half of the am-2067 board.

Our problem is that when moving the gyro around (twisting it), it will measure to 90' fine and then back to 0', but after twisting it a few time it will lose track of where it is pointing. After twisting it around and back for 20 seconds or so, it will read ~20' at the origin (0') position. Is this normal? This does not seen to be related to drift. We have 2 gyros and they both do this same thing.

If this is normal operation, then how do you keep orientation on the field while using a mecanum drive? If this in not normal, then any suggestions would be greatly appreciates!