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
Modifier and TypeFieldDescriptionedu.wpi.first.wpilibj.simulation.DIOSim
static ClimberRealIO
edu.wpi.first.wpilibj.simulation.DIOSim
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
periodic()
void
setLeftMotor
(double speed) void
setRightMotor
(double speed) void
Methods inherited from class frc.robot.subsystems.Climber.Climber
setLeftClimber, setRightClimber
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, 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:
simulationPeriodic
in interfaceedu.wpi.first.wpilibj2.command.Subsystem
- Overrides:
simulationPeriodic
in classClimber
-