Package frc.alotobots.reefscape.util
Class MechanismManager
java.lang.Object
frc.alotobots.reefscape.util.MechanismManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.littletonrobotics.junction.mechanism.LoggedMechanism2d
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
logMech()
static void
updateElevatorMech
(Distance height) Updates the elevator height.static void
updateWristMech
(Angle wristAngle) Updates the wrist angle.
-
Field Details
-
mechanism
public static final org.littletonrobotics.junction.mechanism.LoggedMechanism2d mechanism
-
-
Constructor Details
-
MechanismManager
public MechanismManager()
-
-
Method Details
-
logMech
public static void logMech() -
updateElevatorMech
Updates the elevator height.- Parameters:
heightMeters
- The current height of the elevator.
-
updateWristMech
Updates the wrist angle.- Parameters:
wristAngleRads
- The current wrist angle in radians.
-