Package frc.robot.systems.vision
Class VisionConstants
java.lang.Object
frc.robot.systems.vision.VisionConstants
EXTREMELY IMPORTANT NOTE: The FrontLeft FrontRight, BackLeft, BackRight naming scheme is all
relative to the scoring side being the front of the bot (the side where the coral is scored on
the reef)
Map of camera positions relative to the robot's center.
- **Translation3d (X, Y, Z)**: - X: Forward (+) / Backward (-) relative to the center of the bot - Y: Left (+) / Right (-) relative to the center of the bot - Z: Up (+) / Down (-) relative to the ground, most likely wont be inside the ground
- **Rotation3d (Roll, Pitch, Yaw)**: - Roll (X-axis rotation): Side tilt (it will prolly be 0 unless we do some crazy stuff) - Pitch (Y-axis rotation): Camera looking up/down (Negative = up, positive = down) - Yaw (Z-axis rotation): Camera turning left/right. Imagine a birds eye view of the bot, 0deg is north, 90 is west, -90 is east, and 180 is south
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doublestatic final Stringstatic final VisionConstants.Orientationstatic final edu.wpi.first.math.geometry.Transform3dstatic final edu.wpi.first.math.Vector<edu.wpi.first.math.numbers.N3>static final edu.wpi.first.math.geometry.Rotation2dstatic final Stringstatic final VisionConstants.Orientationstatic final edu.wpi.first.math.geometry.Transform3dstatic final edu.wpi.first.math.Vector<edu.wpi.first.math.numbers.N3>static final boolean -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
kLeftCamName
- See Also:
-
kLeftCamOrientation
-
kLeftCamTransform
public static final edu.wpi.first.math.geometry.Transform3d kLeftCamTransform -
kRightCamName
- See Also:
-
kRightCamOrientation
-
kRightCamTransform
public static final edu.wpi.first.math.geometry.Transform3d kRightCamTransform -
KUseSingleTagTransform
public static final boolean KUseSingleTagTransform- See Also:
-
kSingleStdDevs
public static final edu.wpi.first.math.Vector<edu.wpi.first.math.numbers.N3> kSingleStdDevs -
kMultiStdDevs
public static final edu.wpi.first.math.Vector<edu.wpi.first.math.numbers.N3> kMultiStdDevs -
kAmbiguityThreshold
public static final double kAmbiguityThreshold -
kOV2311DiagonalCameraFOV
public static final edu.wpi.first.math.geometry.Rotation2d kOV2311DiagonalCameraFOV
-
-
Constructor Details
-
VisionConstants
public VisionConstants()
-