View Single Post
  #5   Spotlight this post!  
Unread 04-11-2015, 01:17
slibert slibert is offline
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 348
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: ADW22307 KOP Gyro

Quote:
Originally Posted by pagoglia View Post
Team 4203 is having issues with the KOP gyro. We have it connected to the RoboRio and are using JAVA. When we observe the behavior of the gyro on our dashboard, there is not a stable reading. We went through our regional last year by having one of the drivers continuously reset the gyro but would rather not have to do that. Any ideas welcome. By the way, we have three of these gyros and have swapped them all in with exact same results. Could it be code? Could it be there is a specific port we need to plug it into...
In addition to ensuring you are not accessing the gyro heading data while calibration is in progress, note that Analog sensors like the KOP gyro are more sensitive to noise than sensors that have onboard analog-to-digital converters. So if you are using long signal wires that run near powerful motors, there may be some interference that disturbs the signal.

Another option is to use a digital sensor, like the NavX-MXP. This sensor also has accelerometers and magnetometers, and exhibits lower drift than the KOP gyro, and is used by many FRC teams to implement Field-centric drive and other features. As a bonus, it has expansion io, and plugs directly into the RoboRIO making it very easy to mount.