better files and data structures

NOTE: still haven't added the actual lerp function yet

I did add the end condition
This commit is contained in:
Abhi
2023-02-11 11:22:51 -07:00
parent b5a9f59c59
commit 539668ddb1
2 changed files with 68 additions and 23 deletions
@@ -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.