|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
5 second delay on gyro resetting?
Is this really true? Can anyone verify this?
|
|
#2
|
|||||
|
|||||
|
Re: 5 second delay on gyro resetting?
The constructor for the WPIlib Gyro class calls a blocking init() method that has sleeps of 1 and 5 seconds (~6 seconds total). However, this method is only called upon construction of a Gyro object - NOT when simply calling the reset() method.
The constructor calibrates the gyro, while reset does not change calibration but rather sets the current angle to 0. |
|
#3
|
||||
|
||||
|
Re: 5 second delay on gyro resetting?
That was what I thought. Thanks.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|