Skip to content

Commit 21c6104

Browse files
committed
following tutorial
1 parent 5af57ad commit 21c6104

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/main/java/frc/robot/subsystems/drive/DriveConstants.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
import com.pathplanner.lib.config.ModuleConfig;
1717
import com.pathplanner.lib.config.RobotConfig;
18-
1918
import edu.wpi.first.math.geometry.Rotation2d;
2019
import edu.wpi.first.math.geometry.Translation2d;
2120
import edu.wpi.first.math.system.plant.DCMotor;
@@ -36,10 +35,10 @@ public class DriveConstants {
3635
};
3736

3837
// Zeroed rotation values for each module, see setup instructions
39-
public static final Rotation2d frontLeftZeroRotation = new Rotation2d(70.0);
40-
public static final Rotation2d frontRightZeroRotation = new Rotation2d(150.5);
41-
public static final Rotation2d backLeftZeroRotation = new Rotation2d(12.3);
42-
public static final Rotation2d backRightZeroRotation = new Rotation2d(224.4);
38+
public static final Rotation2d frontLeftZeroRotation = new Rotation2d(0.0);
39+
public static final Rotation2d frontRightZeroRotation = new Rotation2d(0.0);
40+
public static final Rotation2d backLeftZeroRotation = new Rotation2d(0.0);
41+
public static final Rotation2d backRightZeroRotation = new Rotation2d(0.0);
4342

4443
// Device CAN IDs
4544
public static final int pigeonCanId = 52;

0 commit comments

Comments
 (0)