[][src]Function wpilib_sys::bindings::HAL_CalibrateAnalogGyro

pub unsafe extern "C" fn HAL_CalibrateAnalogGyro(
    handle: HAL_GyroHandle,
    status: *mut i32
)

Calibrates the analog gyro.

This happens by calculating the average value of the gyro over 5 seconds, and setting that as the center. Note that this call blocks for 5 seconds to perform this.

@param handle the gyro handle