View Single Post
  #3   Spotlight this post!  
Unread 12-02-2014, 14:32
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 431
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
Re: Gyro reset() troubles

Yea I was wondering if the gyro zeroed after the reset() was called myself, our command code was running after the code I listed above. This code was also printing out the current gyro angle. In the innumerable times I executed code, I never witnessed the current angle to suddenly jump to zero (what you would expect to happen if it were time related).

We are latching in our current heading at the beginning of commands as a workaround. There still seems to be a bug though.

Would anyone mind instrumenting their code and seeing if the problem is present on your hardware as well? All of my crios are tied up at the moment.
__________________
http://team2168.org

Last edited by otherguy : 12-02-2014 at 23:53. Reason: fixed autocorrect errs
Reply With Quote