Package frclib.motor

Class FrcPWMVictorSPX

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

public class FrcPWMVictorSPX extends FrcPWMMotorController<edu.wpi.first.wpilibj.motorcontrol.PWMVictorSPX>
  • Constructor Details

    • FrcPWMVictorSPX

      public FrcPWMVictorSPX(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.
    • FrcPWMVictorSPX

      public FrcPWMVictorSPX(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.