Class Parts.Wheel

java.lang.Object
com.crossbotics.ftchelper.robot.Parts.Wheel
Enclosing class:
Parts

public static final class Parts.Wheel extends Object
One wheel or roller: its size in millimetres.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final double
    Outside diameter, mm.
    final String
    The parts catalog id, e.g.
    final double
    Width along its axle, mm; NaN when the seller does not give it (then the shape needs its length).
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    True if the catalog knows its width.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • id

      public final String id
      The parts catalog id, e.g. "gobilda-hogback-96".
    • diameterMm

      public final double diameterMm
      Outside diameter, mm.
    • widthMm

      public final double widthMm
      Width along its axle, mm; NaN when the seller does not give it (then the shape needs its length).
  • Method Details

    • hasWidth

      public boolean hasWidth()
      True if the catalog knows its width.