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
-
Nested Class Summary
Nested classes/interfaces inherited from class com.stuypulse.robot.subsystems.feeder.Feeder
Feeder.FeederState -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.ctre.phoenix6.controls.VoltageOutprivate final TalonFXSimulationprivate final edu.wpi.first.wpilibj.simulation.DCMotorSim -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionedu.wpi.first.units.measure.AngularVelocityvoidperiodic()protected voidMethods inherited from class com.stuypulse.robot.subsystems.feeder.Feeder
getInstance, getState, 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
-
Field Details
-
feederMotor
-
feederSim
-
feederController
-
-
Constructor Details
-
FeederSim
public FeederSim()
-
-
Method Details
-
getCurrentAngularVelocity
- Specified by:
getCurrentAngularVelocityin classFeeder
-
stopMotors
- Specified by:
stopMotorsin classFeeder
-
periodic
-