From 9f4b7a7234827c4cb0db44c037ad2132478135ba Mon Sep 17 00:00:00 2001 From: Bradley Bickford Date: Wed, 1 Apr 2026 20:43:48 -0400 Subject: [PATCH] Minor comment fixes --- src/main/java/frc/robot/subsystems/Drivetrain.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/frc/robot/subsystems/Drivetrain.java b/src/main/java/frc/robot/subsystems/Drivetrain.java index 929428c..36d7a08 100644 --- a/src/main/java/frc/robot/subsystems/Drivetrain.java +++ b/src/main/java/frc/robot/subsystems/Drivetrain.java @@ -218,6 +218,7 @@ public class Drivetrain extends SubsystemBase { * @param ySpeed The Y (left/right) translational speed of the robot * @param rotate180 When false, the front of the robot faces the hub, when true, the back * of the robot faces the hub + * @param lockXWhenStopped When not being commanded to drive, the drivetrain wheels will make an X shape if this is true * @return A complete Command structure that performs the specified action */ public Command lockRotationToHub(DoubleSupplier xSpeed, DoubleSupplier ySpeed, boolean rotate180, boolean lockXWhenStopped) { @@ -244,6 +245,7 @@ public class Drivetrain extends SubsystemBase { * @param ySpeed The Y (left/right) translational speed of the robot * @param rotate180 When false, the front of the robot faces the supplied pose, when true, the back * of the robot faces the supplied pose + * @param lockXWhenStopped When not being commanded to drive, the drivetrain wheels will make an X shape if this is true * @return A complete Command structure that performs the specified action */ public Command lockRotationToSuppliedPose(Supplier poseSupplier, DoubleSupplier xSpeed, DoubleSupplier ySpeed, boolean rotate180, boolean lockXWhenStopped) { @@ -290,6 +292,7 @@ public class Drivetrain extends SubsystemBase { * @param yaw The "yaw" of the tag source relative to the center of the image frame * @param xSpeed The X (forward/backward) translational speed of the robot * @param ySpeed The Y (left/right) translational speed of the robot + * @param lockXWhenStopped When not being commanded to drive, the drivetrain wheels will make an X shape if this is true * @return A complete Command structure that performs the specified action */ public Command lockToYaw(DoubleSupplier yaw, DoubleSupplier xSpeed, DoubleSupplier ySpeed, boolean lockXWhenStopped) {