From b2e86984e63327d70c90e46a0042830eea98817c Mon Sep 17 00:00:00 2001 From: Jacob Hotz Date: Tue, 5 Dec 2023 12:58:45 -0800 Subject: [PATCH] remove // as to avoid confusion --- src/main/java/frc/robot/RobotContainer.java | 12 ++++++------ src/main/java/frc/robot/subsystems/Claw.java | 4 ++-- src/main/java/frc/robot/subsystems/Swerve.java | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 7fc1686..1b1fdbb 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -74,7 +74,7 @@ private void configureButtonBindings() { .onTrue( setDriveSpeed(DriveConstants.MAX_TELEOP_SPEED_METERS_PER_SECOND)); - // Make a trigger so then when the current GAME_MODE is equal to AUTONOMOUS then set the drive speed to MAX_SPEED_METERS_PER_SECOND + Make a trigger so then when the current GAME_MODE is equal to AUTONOMOUS then set the drive speed to MAX_SPEED_METERS_PER_SECOND // (Explain this) driver.start().or(driver.back()).onTrue( @@ -87,14 +87,14 @@ private void configureButtonBindings() { : 180))), swerve)); - // Create a trigger like the one above so that while the "a" button is been pressed, set the drive speed to ALIGNMENT_SPEED - // and when the "a" button has not been pressed, set the drive speed to MAX_TELEOP_SPEED_METERS_PER_SECOND + Create a trigger like the one above so that while the "a" button is been pressed, set the drive speed to ALIGNMENT_SPEED + and when the "a" button has not been pressed, set the drive speed to MAX_TELEOP_SPEED_METERS_PER_SECOND - // Create another trigger so while the leftBumper is pressed, run the command in swerve, getSetWheelsX + Create another trigger so while the leftBumper is pressed, run the command in swerve, getSetWheelsX - // Create another trigger so the swerve runs the toggleSpeed command in swerve when the leftStick toggles to true + Create another trigger so the swerve runs the toggleSpeed command in swerve when the leftStick toggles to true - // Create two triggers so while the left and right triggers are true, set the desired claw speed to their respective left and right trigger axises + Create two triggers so while the left and right triggers are true, set the desired claw speed to their respective left and right trigger axises } diff --git a/src/main/java/frc/robot/subsystems/Claw.java b/src/main/java/frc/robot/subsystems/Claw.java index c4e4814..e37bc3f 100644 --- a/src/main/java/frc/robot/subsystems/Claw.java +++ b/src/main/java/frc/robot/subsystems/Claw.java @@ -31,8 +31,8 @@ public Claw() { @Override public void periodic() { - // set the current speed of the motors to the desired speed - + set the current speed of the motors to the desired speed + } private void setSpeed(double speed) { diff --git a/src/main/java/frc/robot/subsystems/Swerve.java b/src/main/java/frc/robot/subsystems/Swerve.java index 4416d49..9ddb1e3 100644 --- a/src/main/java/frc/robot/subsystems/Swerve.java +++ b/src/main/java/frc/robot/subsystems/Swerve.java @@ -98,7 +98,7 @@ public Swerve() { @Override public void periodic() { - // Update the poseEstimator using the current timestamp (from DriverUI.java), the gyro angle, and the current module states + Update the poseEstimator using the current timestamp (from DriverUI.java), the gyro angle, and the current module states if (FieldConstants.IS_SIMULATION) {