|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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! |
|
#2
|
|||
|
|||
|
Re: Gyro gets lost
Sometimes, drift occurs. Our gyro has an integrated temperature sensor, which is supposed to be used for calculations making it more accurate, but we haven't used it yet. What we use is a function which resets the gyro every time we make a turn. That way, it minimizes drift.
|
|
#3
|
||||
|
||||
|
Re: Gyro gets lost
Thanks for the quick reply!
We can observe the drift with the gyro not moving and it drifts about 1' per minute. Will gyro movement amplify the drift to this extent? We are seeing about 20' in less then 20 seconds and it is worse with the more movement. |
|
#4
|
||||
|
||||
|
Re: Gyro gets lost
Quote:
|
|
#5
|
||||
|
||||
|
Re: Gyro gets lost
We're using the am-2067, and we've found it to only have drift of about 30' after 2:30 of crazy rotation and haphazard driving.
The documentation of the am-2067 that says it needs 5 seconds after first activating to calibrate. Are you letting it do that? |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|