View Single Post
  #7   Spotlight this post!  
Unread 23-01-2012, 22:19
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,113
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: bridge balancing

How accurate is this combination? Remember that gyros generally give better rate information (as in, a better angular rate while your robot is in motion) and accelerometers give better absolute angles while stationary.

A couple days ago, I set up both a gyro and an accelerometer with LabVIEW front panel graphs and just watched the readings - you should do this too (or your C++/Java debug method of choice). You'll learn something: gyros drift over time. Sometimes it's a really big amount, and sometimes it's only a little. But it's always there. You'll have to find a good way to compensate for it in software and get a really precise angle out of it. I know a few ways to do it, but I'm not going to say. You'll learn it better if you figure it out for yourself.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote