Package frc.robot.subsystems.Climber
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
-
Nested Class Summary
Nested classes/interfaces inherited from class frc.robot.subsystems.Climber.Climber
Climber.Commands -
Field Summary
FieldsModifier and TypeFieldDescriptionedu.wpi.first.wpilibj.simulation.DIOSimstatic ClimberRealIOedu.wpi.first.wpilibj.simulation.DIOSim -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidperiodic()voidsetLeftMotor(double speed) voidsetRightMotor(double speed) voidMethods inherited from class frc.robot.subsystems.Climber.Climber
setLeftClimber, setRightClimberMethods inherited from class edu.wpi.first.wpilibj2.command.SubsystemBase
addChild, getName, getSubsystem, initSendable, setName, setSubsystemMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.wpi.first.wpilibj2.command.Subsystem
defer, getCurrentCommand, getDefaultCommand, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, startEnd
-
Field Details
-
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() -
simulationPeriodic
public void simulationPeriodic()- Specified by:
simulationPeriodicin interfaceedu.wpi.first.wpilibj2.command.Subsystem- Overrides:
simulationPeriodicin classClimber
-