mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
[wpimath] Fix Pose relativeTo documentation (#4661)
This commit is contained in:
@@ -141,7 +141,7 @@ class WPILIB_DLLEXPORT Pose2d {
|
||||
constexpr Pose2d TransformBy(const Transform2d& other) const;
|
||||
|
||||
/**
|
||||
* Returns the other pose relative to the current pose.
|
||||
* Returns the current pose relative to the given pose.
|
||||
*
|
||||
* This function can often be used for trajectory tracking or pose
|
||||
* stabilization algorithms to get the error between the reference and the
|
||||
|
||||
@@ -152,7 +152,7 @@ class WPILIB_DLLEXPORT Pose3d {
|
||||
Pose3d TransformBy(const Transform3d& other) const;
|
||||
|
||||
/**
|
||||
* Returns the other pose relative to the current pose.
|
||||
* Returns the current pose relative to the given pose.
|
||||
*
|
||||
* This function can often be used for trajectory tracking or pose
|
||||
* stabilization algorithms to get the error between the reference and the
|
||||
|
||||
Reference in New Issue
Block a user