Class TorqueMotor

java.lang.Object
org.texastorque.torquelib.legacy.base.TorqueMotor
Direct Known Subclasses:
TorqueFalcon, TorqueSparkMax, TorqueTalon

public abstract class TorqueMotor extends Object
A base class for Texas Torque motor controller wrappers.
  • Field Details

    • port

      protected final int port
  • Constructor Details

    • TorqueMotor

      protected TorqueMotor(int port)
  • Method Details

    • setPercent

      public abstract void setPercent(double percent)
    • setVoltage

      public abstract void setVoltage(double percent)
    • addFollower

      public abstract void addFollower(int port)
    • addFollower

      public abstract void addFollower(int port, boolean invert)
    • invert

      public abstract void invert(boolean invert)