Skip to content

Commit

Permalink
Task 2 Completion
Browse files Browse the repository at this point in the history
  • Loading branch information
Saanvi Korem committed Oct 24, 2024
1 parent 86728e0 commit 2f0bd08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/subsystems/XRPDrivetrain.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void arcadeDrive(double xaxisSpeed, double zaxisRotate) {
}

//TODO:Task 2-Write a function that makes the robot take in a left wheel speed and a right wheel speed, and move at those speeds.
public static Command SpeedCommand(double leftSpeed, double rightSpeed){
public void SpeedCommand(double leftSpeed, double rightSpeed){
m_diffDrive.tankDrive(leftSpeed, rightSpeed);
}
//HINT:This is called a tank drive, maybe there is a function that can easily allow for it?
Expand Down

0 comments on commit 2f0bd08

Please sign in to comment.