Package frc.robot.subsystems.algaewrist
Class AlgaeWrist
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
frc.robot.subsystems.algaewrist.AlgaeWrist
Algae Wrist
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAngle for bargecoast()
Make wrist backdrivablefollowAngle
(Supplier<Angle> angle) Continuously set the angle of the algae intakeGet within 5 degrees of a desired angleAngle for ground intakeAngle for homevoid
periodic()
Angle for picking off of reefrunVolts
(DoubleSupplier volts) set wrist voltageMethods 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, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, simulationPeriodic, startEnd, startRun
-
Constructor Details
-
AlgaeWrist
Algae Wrist
-
-
Method Details
-
periodic
public void periodic() -
runVolts
set wrist voltage -
goToAngle
Get within 5 degrees of a desired angle -
followAngle
Continuously set the angle of the algae intake -
bargeAngle
Angle for barge -
homeAngle
Angle for home -
groundAngle
Angle for ground intake -
reefAngle
Angle for picking off of reef -
coast
Make wrist backdrivable
-