Skip to content

Commit

Permalink
remove // as to avoid confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob1010-h committed Dec 5, 2023
1 parent 2cad35c commit b2e8698
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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

}

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/subsystems/Claw.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/subsystems/Swerve.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

Expand Down

0 comments on commit b2e8698

Please sign in to comment.