Team2168 / 2014_Main_Robot

Code for the 2014 FRC season.
Other
2 stars 1 forks source link

Gyro not resetting when called from RotateDrivetrain #37

Open jcorcoran opened 10 years ago

jcorcoran commented 10 years ago

@Benmw99 @inkinc The RotateDrivetrain command, ran 2/9/2014 doesn't seem to work every time (https://github.com/Team2168/FRC2014_Main_Robot/commit/788018ed0166972ff8ce05f5b83b83ba1794ece6). Looking into why seems to have shown that the resetGyro method in the drivetrain subsystem doesn't always cause the gyro to be zeroed.

It is possible to replicate this issue by executing the rotatedrive command repeatedly from a controller button. The gyro doesn't reset approximately every other time the reset method is called. Haven't ruled out this being a problem inside wpilib.