Annotation Interface Hardware


@Retention(RUNTIME) @Target(FIELD) public @interface Hardware
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
     
    double
     
    double
     
    com.qualcomm.robotcore.hardware.DcMotor.ZeroPowerBehavior
     
  • Element Details

    • ticksPerRevolution

      double ticksPerRevolution
      Default:
      -1.0
    • zeroPowerBehavior

      com.qualcomm.robotcore.hardware.DcMotor.ZeroPowerBehavior zeroPowerBehavior
      Default:
      BRAKE
    • gearRatio

      int gearRatio
      Default:
      1
    • wheelDiameterIn

      double wheelDiameterIn
      Default:
      -1.0