[wpimath] Fix ComputerVisionUtil transform example in parameter docs (NFC) (#4800)

This commit is contained in:
Tyler Veness
2022-12-11 22:44:08 -08:00
committed by GitHub
parent da3ec1be10
commit 7e84ea891f
2 changed files with 5 additions and 5 deletions

View File

@@ -24,9 +24,9 @@ public final class ComputerVisionUtil {
* comes from computer vision.
* @param robotToCamera The transformation from the robot's pose to the camera's pose. This can
* either be a constant for a rigidly mounted camera, or variable if the camera is mounted to
* a turret. If the camera was mounted 3 inches behind the "origin" (usually physical center)
* of the robot, this would be new Transform3d(Units.inchesToMeters(3.0), 0.0, 0.0, new
* Rotation3d()).
* a turret. If the camera was mounted 3 inches in front of the "origin" (usually physical
* center) of the robot, this would be new Transform3d(Units.inchesToMeters(3.0), 0.0, 0.0,
* new Rotation3d()).
* @return The robot's field-relative pose.
*/
public static Pose3d objectToRobotPose(