Class ShooterImpl
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
com.stuypulse.robot.subsystems.shooter.Shooter
com.stuypulse.robot.subsystems.shooter.ShooterImpl
- 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 -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.ctre.phoenix6.controls.VelocityTorqueCurrentFOCprivate final com.ctre.phoenix6.controls.Followerprivate final com.ctre.phoenix6.hardware.TalonFXprivate final com.ctre.phoenix6.hardware.TalonFXprivate final com.ctre.phoenix6.hardware.TalonFXprivate final LoggedSignalsprivate Optional<edu.wpi.first.units.measure.Voltage> -
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
addToBonusVelocity, getInstance, getState, logMotor, resetBonusVelocity, setState, shooterSpunUpMethods 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
-
shooterMotorLeft
-
shooterMotorCenter
-
shooterMotorRight
-
shooterController
-
shooterFollowerController
-
signals
-
voltageOverride
-
-
Constructor Details
-
ShooterImpl
public ShooterImpl()
-
-
Method Details
-
setVoltageOverride
- Specified by:
setVoltageOverridein classShooter
-
getCurrentAngularVelocity
- Specified by:
getCurrentAngularVelocityin classShooter
-
stopMotors
- Specified by:
stopMotorsin classShooter
-
periodic
-
getShooterSysIdRoutine
- Specified by:
getShooterSysIdRoutinein classShooter
-