Package frc.robot.subsystems.hood
Class Hood
java.lang.Object
frc.spectrumLib.mechanism.Mechanism
frc.robot.subsystems.hood.Hood
- All Implemented Interfaces:
Subsystem
Sets the hood angle that aims the fuel shot.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumstatic enumNested classes/interfaces inherited from class frc.spectrumLib.mechanism.Mechanism
Mechanism.Config, Mechanism.FollowerConfig, Mechanism.RpmLog -
Field Summary
Fields inherited from class frc.spectrumLib.mechanism.Mechanism
followerMotors, motor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfrc.robot.subsystems.hood.Hood.HoodSimgetSim()voidperiodic()Called once per scheduler loop.voidsetWantedState(Hood.WantedState state) voidMethods inherited from class frc.spectrumLib.mechanism.Mechanism
aboveCurrent, aboveDegrees, abovePercentage, aboveRotations, aboveVelocityRPM, applyCurrentLimit, atCurrent, atDegrees, atPercentage, atRotations, atTargetPosition, atVelocityRPM, belowCurrent, belowDegrees, belowPercentage, belowRotations, belowVelocityRPM, checkAvgCurrent, checkMaxCurrent, checkMinThresholdCurrent, coastMode, degreesToRotations, ensureBrakeMode, getCurrentCommandName, getFollowerMotors, getLatencyCompensatedPositionDegrees, getLatencyCompensatedPositionRotations, getMotor, getName, getPositionDegrees, getPositionPercentage, getPositionRotations, getStatorCurrent, getSupplyCurrent, getTarget, getTemp, getVelocityRPM, getVelocityTargetRPS, getVoltage, isAtRotations, isAttached, isAtTargetPosition, isMotorConnected, logBatteryUsage, logDiagnostics, logDiagnostics, logStandard, moveToDegrees, moveToPercentage, moveToRotations, percentToRotations, rotationsToDegrees, rotationsToPercent, runCurrentLimits, runFocRotations, runningDefaultCommand, runPercentage, runStop, runTorqueCurrentFoc, runVelocity, runVelocityTcFocRPM, runVoltage, runVoltageNoSoftLimit, setBrakeMode, setCurrentLimits, setDynMMPositionFoc, setDynMMPositionVoltage, setMMPosition, setMMPosition, setMMPositionFoc, setMMVelocityFOC, setMotorPosition, setPercentOutput, setPosition, setPositionFocWithVelocity, setPositionWithVelocity, setTorqueCurrentFoc, setVelocity, setVelocityRPM, setVelocityTCFOCrpm, setVelocityTorqueCurrentFOC, setVoltageOutput, setVoltageOutputNoSoftLimit, simulationPeriodic, stop, tareMotor, toggleReverseSoftLimit, toggleSupplyCurrentLimit, toggleTorqueCurrentLimitMethods 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, startEnd, startRun
-
Constructor Details
-
Hood
-
-
Method Details
-
setWantedState
-
periodic
public void periodic()Description copied from class:MechanismCalled once per scheduler loop. Subclasses override this for their state machine, telemetry and sensor work. -
simulationInit
public void simulationInit() -
getConfig
-
getSim
public frc.robot.subsystems.hood.Hood.HoodSim getSim()
-