Class OperatorInterface

java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
frc.robot.subsystems.OperatorInterface
All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable, edu.wpi.first.wpilibj2.command.Subsystem

public class OperatorInterface extends edu.wpi.first.wpilibj2.command.SubsystemBase
Subsystem handling driver and operator input, including intelligent rumble feedback for faults and voltage sags.
  • Constructor Summary

    Constructors
    Constructor
    Description
    OperatorInterface(int port, MARSPowerManager powerManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
     
    void
    setRumble(double strength)
     

    Methods inherited from class edu.wpi.first.wpilibj2.command.SubsystemBase

    addChild, getName, getSubsystem, initSendable, setName, setSubsystem

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface edu.wpi.first.wpilibj2.command.Subsystem

    defer, getCurrentCommand, getDefaultCommand, idle, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, simulationPeriodic, startEnd, startRun
  • Constructor Details

    • OperatorInterface

      public OperatorInterface(int port, MARSPowerManager powerManager)
  • Method Details

    • getController

      public TelemetryGamepad getController()
    • setRumble

      public void setRumble(double strength)
    • periodic

      public void periodic()