Class Motors.Kind

java.lang.Object
com.crossbotics.ftchelper.robot.Motors.Kind
Enclosing class:
Motors

public static final class Motors.Kind extends Object
One motor: encoder counts per output-shaft turn, and its free (no-load) speed in RPM.
  • Field Details

  • Method Details

    • known

      public boolean known()
      True if both numbers are known (a catalog motor always).
    • simWords

      public String simWords()
      The words for the simulator's robot file: part=ID for a catalog motor, its own numbers (ticksPerRev=28, rpm=5800) for a custom one ("" when none is known).