From 1669584f26b438da844884119013c2dd28ba7e36 Mon Sep 17 00:00:00 2001 From: cland29 Date: Fri, 21 Feb 2025 15:57:10 -0500 Subject: [PATCH] Fix documentation implying that no part of Rotation2d wraps --- source/docs/software/advanced-controls/geometry/pose.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/docs/software/advanced-controls/geometry/pose.rst b/source/docs/software/advanced-controls/geometry/pose.rst index 5016139aa9..87d422416b 100644 --- a/source/docs/software/advanced-controls/geometry/pose.rst +++ b/source/docs/software/advanced-controls/geometry/pose.rst @@ -14,7 +14,7 @@ Rotation in 2 dimensions is represented by WPILib's ``Rotation2d`` class ([Java] .. note:: ``Rotation2d`` uses the C++ Units library. The constructor in Java/Python accepts either the angle in radians, or the sine and cosine of the angle, but the ``fromDegrees`` method will construct a ``Rotation2d`` object from degrees. -.. note:: ``Rotation2d`` does not wrap the value of the angle, so if a value of 400 degrees is passed into the constructor, then 400 degrees will be returned in subsequent value calls. +.. note:: ``Rotation2d`` does not wrap the value of the angle, so if a value of 400 degrees is passed into the constructor, then 400 degrees will be returned in subsequent value calls. However, some method calls like ``plus`` and ``minus`` wrap the angle prior to the construction of the ``Rotation2d`` object. ## Pose