mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
[wpimath] SwerveDrivePoseEstimator: Restore comment about encoder reset (#4569)
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user