Java 类edu.wpi.first.wpilibj.GyroBase 实例源码

项目:Frc2017FirstSteamWorks    文件:FrcGyro.java   
public FrcGyro(final String instanceName, GyroBase gyro)
{
    super(instanceName, 1, GYRO_HAS_Z_AXIS, null);

    if (debugEnabled)
    {
        dbgTrace = new TrcDbgTrace(moduleName + "." + instanceName, tracingEnabled, traceLevel, msgLevel);
    }

    this.gyro = gyro;
    gyro.calibrate();
}