Class CameraTargetRelation
java.lang.Object
org.photonvision.estimation.CameraTargetRelation
Holds various helper geometries describing the relation between camera and target.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal org.wpilib.math.geometry.Pose3dfinal org.wpilib.math.geometry.Transform3dfinal org.wpilib.math.geometry.Rotation2dAngle from the camera's relative x-axisfinal doublefinal doublefinal org.wpilib.math.geometry.Rotation2dfinal org.wpilib.math.geometry.Rotation2dfinal org.wpilib.math.geometry.Transform3dfinal org.wpilib.math.geometry.Rotation2dAngle from the target's relative x-axisfinal org.wpilib.math.geometry.Rotation2dfinal org.wpilib.math.geometry.Rotation2d -
Constructor Summary
ConstructorsConstructorDescriptionCameraTargetRelation(org.wpilib.math.geometry.Pose3d cameraPose, org.wpilib.math.geometry.Pose3d targetPose) -
Method Summary
-
Field Details
-
camPose
-
camToTarg
-
camToTargDist
-
camToTargDistXY
-
camToTargYaw
-
camToTargPitch
-
camToTargAngle
Angle from the camera's relative x-axis -
targToCam
-
targToCamYaw
-
targToCamPitch
-
targToCamAngle
Angle from the target's relative x-axis
-
-
Constructor Details
-
CameraTargetRelation
public CameraTargetRelation(org.wpilib.math.geometry.Pose3d cameraPose, org.wpilib.math.geometry.Pose3d targetPose)
-