[wpimath] Fix pose estimator ResetRotation() in C++ (#6984)

This commit is contained in:
Jade
2024-08-21 22:51:21 +08:00
committed by GitHub
parent f0c3610465
commit eef516fcc9

View File

@@ -71,7 +71,7 @@ void PoseEstimator<WheelSpeeds, WheelPositions>::ResetTranslation(
template <typename WheelSpeeds, typename WheelPositions>
void PoseEstimator<WheelSpeeds, WheelPositions>::ResetRotation(
const Rotation2d& rotation) {
m_odometry.ResetTranslation(rotation);
m_odometry.ResetRotation(rotation);
m_odometryPoseBuffer.Clear();
}