Class AdjustableHood
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
frc.robot.subsystems.adjustable_hood.AdjustableHood
Adjustable Hood Subsystem
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal frc.robot.subsystems.adjustable_hood.AdjustableHoodInputsAutoLogged -
Constructor Summary
ConstructorsConstructorDescriptionAdjustableHood(AdjustableHoodIO io, RobotState state) Creates a new Adjustable Hood subsystem. -
Method Summary
Modifier and TypeMethodDescriptionvoidincreaseManualAngle(Angle angleIncriment) Sets the angle manuallymanualMoveToAngle(Angle increment) moves the hood by a specified incrementmoveWithVoltage(double voltage) voidperiodic()Uses the distance and angle tablesMethods 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
-
inputs
public final frc.robot.subsystems.adjustable_hood.AdjustableHoodInputsAutoLogged inputs
-
-
Constructor Details
-
AdjustableHood
Creates a new Adjustable Hood subsystem.- Parameters:
io- Hardware abstraction
-
-
Method Details
-
periodic
public void periodic() -
increaseManualAngle
Sets the angle manually -
manualMoveToAngle
moves the hood by a specified increment -
moveWithVoltage
-
setGoal
-
useAutomaticTable
Uses the distance and angle tables
-