Class FeederSim

java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
com.stuypulse.robot.subsystems.feeder.Feeder
com.stuypulse.robot.subsystems.feeder.FeederSim
All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable, edu.wpi.first.wpilibj2.command.Subsystem

public class FeederSim extends Feeder
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.stuypulse.robot.subsystems.feeder.Feeder

    Feeder.FeederState
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    edu.wpi.first.units.measure.AngularVelocity
     
    void
     
    protected void
     

    Methods inherited from class com.stuypulse.robot.subsystems.feeder.Feeder

    getInstance, getState, 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

    • FeederSim

      public FeederSim()
  • Method Details

    • getCurrentAngularVelocity

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

      protected void stopMotors()
      Specified by:
      stopMotors in class Feeder
    • periodic

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