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 TypeMethodDescriptionvoid
drawImpl()
Publish all values to Loggervoid
Reset all values, getting ready for auto.void
setActualPose
(Pose2d pose) Set the actual pose (only different for sim)void
setAlgaeAngle
(Angle angle) void
setClimberAngle
(Angle angle) Set the angle of the climber, with 0 being straight up and down.void
setDrivetrainState
(Pose2d estimatedPose, Rotation2d[] states) Set the estimated drivetrain state, including swerve drive poses.`void
setElevatorHeight
(Distance height) Set the elevator height relative to its lowest point.void
setHasAlgae
(boolean hasAlgae) Show algae in the algae scorer.void
setHasCoral
(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
-