Class ShooterSim
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
com.stuypulse.robot.subsystems.shooter.Shooter
com.stuypulse.robot.subsystems.shooter.ShooterSim
- All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable,edu.wpi.first.wpilibj2.command.Subsystem
-
Nested Class Summary
Nested classes/interfaces inherited from class com.stuypulse.robot.subsystems.shooter.Shooter
Shooter.ShooterState -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionedu.wpi.first.units.measure.AngularVelocityedu.wpi.first.wpilibj2.command.sysid.SysIdRoutinevoidperiodic()voidsetVoltageOverride(edu.wpi.first.units.measure.Voltage voltage) protected voidMethods inherited from class com.stuypulse.robot.subsystems.shooter.Shooter
getInstance, getState, logMotor, setStateMethods 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, idle, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, simulationPeriodic, startEnd, startRun
-
Constructor Details
-
ShooterSim
public ShooterSim()
-
-
Method Details
-
getCurrentAngularVelocity
public edu.wpi.first.units.measure.AngularVelocity getCurrentAngularVelocity()- Specified by:
getCurrentAngularVelocityin classShooter
-
stopMotors
protected void stopMotors()- Specified by:
stopMotorsin classShooter
-
setVoltageOverride
public void setVoltageOverride(edu.wpi.first.units.measure.Voltage voltage) - Specified by:
setVoltageOverridein classShooter
-
periodic
public void periodic() -
getShooterSysIdRoutine
public edu.wpi.first.wpilibj2.command.sysid.SysIdRoutine getShooterSysIdRoutine()- Specified by:
getShooterSysIdRoutinein classShooter
-