View Single Post
  #2   Spotlight this post!  
Unread 07-03-2016, 12:21
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 800
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: ADXRS453 gyro returning incorrect rate above medium speed

I've never seen this behavior before with either the 450 or 453. Have you tried feeding your assemble_sensor_data function some pre-fabricated data and looked at how it responds?

FYI, WPILib now has a class to talk to the 450/453 out of the box. It looks nice. You might want to try that.

You are also ignoring errors reported by the gyro in your code. I'd suggest handling them (at least don't integrate the new value for that cycle.) I've heard of that causing problems.
Reply With Quote