Class ClimberSimIO

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

public class ClimberSimIO extends Climber
  • Field Details

    • m_instance

      public static ClimberRealIO m_instance
    • l_limit

      public edu.wpi.first.wpilibj.simulation.DIOSim l_limit
    • r_limit

      public edu.wpi.first.wpilibj.simulation.DIOSim r_limit
  • Constructor Details

    • ClimberSimIO

      public ClimberSimIO()
      Creates a new ExampleSubsystem.
  • Method Details

    • setLeftMotor

      public void setLeftMotor(double speed)
    • setRightMotor

      public void setRightMotor(double speed)
    • getLeftSwitch

      public boolean getLeftSwitch()
    • getRightSwitch

      public boolean getRightSwitch()
    • periodic

      public void periodic()
      Specified by:
      periodic in interface edu.wpi.first.wpilibj2.command.Subsystem
      Overrides:
      periodic in class Climber
    • simulationPeriodic

      public void simulationPeriodic()
      Specified by:
      simulationPeriodic in interface edu.wpi.first.wpilibj2.command.Subsystem
      Overrides:
      simulationPeriodic in class Climber