Package frclib.motor

Class FrcPWMTalonSRX

java.lang.Object
trclib.motor.TrcMotor
frclib.motor.FrcPWMMotorController<edu.wpi.first.wpilibj.motorcontrol.PWMTalonSRX>
frclib.motor.FrcPWMTalonSRX
All Implemented Interfaces:
TrcMotorController, TrcExclusiveSubsystem, TrcOdometrySensor

public class FrcPWMTalonSRX extends FrcPWMMotorController<edu.wpi.first.wpilibj.motorcontrol.PWMTalonSRX>
  • Constructor Details

    • FrcPWMTalonSRX

      public FrcPWMTalonSRX(String instanceName, int pwmChannel, TrcMotor.ExternalSensors sensors)
      Constructor: Create an instance of the object.
      Parameters:
      instanceName - specifies the instance name.
      pwmChannel - specifies the PWM channel number of the motor.
      sensors - specifies external sensors, can be null if none.
    • FrcPWMTalonSRX

      public FrcPWMTalonSRX(String instanceName, int pwmChannel)
      Constructor: Create an instance of the object.
      Parameters:
      instanceName - specifies the instance name.
      pwmChannel - specifies the PWM channel number of the motor.