Package frc.lib.util.viz
Class Viz2025
java.lang.Object
frc.lib.util.viz.Viz2025
- All Implemented Interfaces:
Drawable
Visualization of the 2025 Robot
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawImpl()Publish all values to LoggervoidReset all values, getting ready for auto.voidsetActualPose(Pose2d pose) Set the actual pose (only different for sim)voidsetAlgaeAngle(Angle angle) voidsetClimberAngle(Angle angle) Set the angle of the climber, with 0 being straight up and down.voidsetDrivetrainState(Pose2d estimatedPose, Rotation2d[] states) Set the estimated drivetrain state, including swerve drive poses.`voidsetElevatorHeight(Distance height) Set the elevator height relative to its lowest point.voidsetHasAlgae(boolean hasAlgae) Show algae in the algae scorer.voidsetHasCoral(boolean hasCoral) Show coral in the coral scorer.
-
Constructor Details
-
Viz2025
Visualization of the 2025 Robot
-
-
Method Details
-
setClimberAngle
Set the angle of the climber, with 0 being straight up and down. -
setHasCoral
public void setHasCoral(boolean hasCoral) Show coral in the coral scorer. -
setHasAlgae
public void setHasAlgae(boolean hasAlgae) Show algae in the algae scorer. -
setDrivetrainState
Set the estimated drivetrain state, including swerve drive poses.` -
setActualPose
Set the actual pose (only different for sim) -
setElevatorHeight
Set the elevator height relative to its lowest point. -
reset
Reset all values, getting ready for auto. -
drawImpl
public void drawImpl()Publish all values to Logger -
setAlgaeAngle
-