mirror of
https://github.com/Team4388/2023WayOfTheRobot.git
synced 2026-06-09 00:37:59 -06:00
note
This commit is contained in:
@@ -126,6 +126,7 @@ public class SwerveDrive extends SubsystemBase {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Resets the odometry of the SwerveDrive to 0.
|
* Resets the odometry of the SwerveDrive to 0.
|
||||||
|
* *NOTE: If you reset your gyroscope or wheel encoders, this method MUST be called with the new gyro angle and wheel encoder positions.
|
||||||
*/
|
*/
|
||||||
public void resetOdometry() {
|
public void resetOdometry() {
|
||||||
odometry.resetPosition(
|
odometry.resetPosition(
|
||||||
|
|||||||
Reference in New Issue
Block a user