From c5d27ab81ce6d75db920aa6d6afde33757fdd1ce Mon Sep 17 00:00:00 2001 From: Aang099 Date: Fri, 28 Jun 2024 14:59:43 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Update=20Pose=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/units/Pose.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/units/Pose.hpp b/include/units/Pose.hpp index 347b0fb..222f1e1 100644 --- a/include/units/Pose.hpp +++ b/include/units/Pose.hpp @@ -2,6 +2,7 @@ #include "Angle.hpp" #include "units/Vector2D.hpp" +#include "units/units.hpp" namespace units { /** @@ -9,8 +10,8 @@ namespace units { * * @brief A class that represents a position and orientation in 2D space * - * This class inherits from V2Position, which is identical to Vector2D. The only difference here - * is that Pose has an additional member variable, orientation. + * This class inherits from Vector2D, and has an additional Orientation component of type , where derivatives is a power of time. */ template class AbstractPose : public Vector2D>> { @@ -81,8 +82,11 @@ template class AbstractPose Divided> orientation; /** Orientation */ }; +// Position Pose (Length, Angle) using Pose = AbstractPose>; +// Velocity Pose (Length / Time, Angle / Time) using VelocityPose = AbstractPose>; +// AccelerationPose (Length / Time^2, Angle / Time^2) using AccelerationPose = AbstractPose>; } // namespace units \ No newline at end of file