mirror of
https://github.com/Team4388/2023WayOfTheRobot.git
synced 2026-06-09 00:37:59 -06:00
Revert "Revert "better files and data structures""
This reverts commit 79114c64de.
This commit is contained in:
@@ -156,6 +156,12 @@ public class SwerveDrive extends SubsystemBase {
|
||||
);
|
||||
}
|
||||
|
||||
public void stopModules() {
|
||||
for (SwerveModule module : this.modules) {
|
||||
module.stop();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Resets the odometry of the SwerveDrive to 0.
|
||||
* *NOTE: If you reset your gyro, this method MUST be called with the new gyro angle and wheel encoder positions.
|
||||
|
||||
Reference in New Issue
Block a user