Skip to content

Commit

Permalink
added small hint
Browse files Browse the repository at this point in the history
  • Loading branch information
Advay17 committed Oct 7, 2024
1 parent bbc0d11 commit 5965d0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/frc/robot/subsystems/XRPDrivetrain.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,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.
//HINT:This is called a tank drive, maybe there is a function that can easily allow for it?
//HINT:To see all the functions that the drivetrain has, type "m_diffDrive." without the quotes and look at the options generated by auto complete.

public void resetEncoders() {
m_leftEncoder.reset();
Expand Down

0 comments on commit 5965d0b

Please sign in to comment.