[wpimath] SwerveDrivePoseEstimator: Restore comment about encoder reset (#4569)

This commit is contained in:
Alex Ryker
2022-11-04 18:03:49 -04:00
committed by GitHub
parent b2b473b24a
commit 64a7136e08
2 changed files with 4 additions and 0 deletions

View File

@@ -244,6 +244,8 @@ public class SwerveDrivePoseEstimator<States extends Num, Inputs extends Num, Ou
/**
* Resets the robot's position on the field.
*
* <p>You NEED to reset your encoders (to zero) when calling this method.
*
* <p>The gyroscope angle does not need to be reset in the user's robot code. The library
* automatically takes care of offsetting the gyro angle.
*

View File

@@ -138,6 +138,8 @@ class SwerveDrivePoseEstimator {
/**
* Resets the robot's position on the field.
*
* You NEED to reset your encoders (to zero) when calling this method.
*
* The gyroscope angle does not need to be reset in the user's robot code.
* The library automatically takes care of offsetting the gyro angle.
*