View Single Post
  #7   Spotlight this post!  
Unread 12-02-2014, 23:50
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: 429
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

Quote:
Originally Posted by BradAMiller View Post
I'm not sure why it isn't resetting immediately unless, as was suggested, there is some delay in the hardware. I'd also suggest to try adding a delay after doing the reset to see if it makes a difference
As I stated in my last post, we had a command executing after the reset method was being called. The command was printing out the current gyro angle. If the gyro didn't zero after the reset call, it never was zeroed.

I don't think this is time related.

And I've never had to wait for the reset method to zero the gyro in the past. We've used this method extensively in the past and have never had a problem with it previously.
__________________
http://team2168.org
Reply With Quote