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

public class ShooterSim extends Shooter
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.stuypulse.robot.subsystems.shooter.Shooter

    Shooter.ShooterState
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    edu.wpi.first.units.measure.AngularVelocity
     
    edu.wpi.first.wpilibj2.command.sysid.SysIdRoutine
     
    void
     
    void
    setVoltageOverride(edu.wpi.first.units.measure.Voltage voltage)
     
    protected void
     

    Methods inherited from class com.stuypulse.robot.subsystems.shooter.Shooter

    getInstance, getState, logMotor, setState

    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

    • ShooterSim

      public ShooterSim()
  • Method Details

    • getCurrentAngularVelocity

      public edu.wpi.first.units.measure.AngularVelocity getCurrentAngularVelocity()
      Specified by:
      getCurrentAngularVelocity in class Shooter
    • stopMotors

      protected void stopMotors()
      Specified by:
      stopMotors in class Shooter
    • setVoltageOverride

      public void setVoltageOverride(edu.wpi.first.units.measure.Voltage voltage)
      Specified by:
      setVoltageOverride in class Shooter
    • periodic

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

      public edu.wpi.first.wpilibj2.command.sysid.SysIdRoutine getShooterSysIdRoutine()
      Specified by:
      getShooterSysIdRoutine in class Shooter