Gyro Kill

Back when I was doing FLL, there was a function that could force a Gyro reset, if it was drifting, by detecting a difference in Angle, it was done by detecting the Gyro as an Ultrasonic Sensor, in LabVIEW. Does anyone know how to do this in Pros, or if it is at all possible to do such a thing?

And since the old Gyro seems to have been discontinued would the new one have such a function?


The ADIGyro class in PROS does have a function called reset that sets the value of the gyro back to zero. However, this function has to be called manually, so you would have write code to check when to reset it, or you could make a button on the controller reset it.
The function looks like this:

1 Like