Skip to content

Commit

Permalink
Deleting extra limelight camera
Browse files Browse the repository at this point in the history
Offseason bot only has one limelight, still need to fix new translations
  • Loading branch information
LexieLev committed Oct 18, 2023
1 parent 2deb6bc commit e798778
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions src/main/java/frc/robot/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -342,26 +342,19 @@ public static record VisionSource(String name, Transform3d robotToCamera) {}
public static final List<VisionSource> VISION_SOURCES =
List.of(
new VisionSource(
//FIXME need to change translations since position of camera is changing
"frontCam",
new Transform3d(
new Translation3d(
0.228110, // front/back
0.228110, // front/back
0.253802, // left/right
0.443955 // up/down
),
new Rotation3d(
0,
Math.toRadians(-11.5), // angle up/down
0))),
new VisionSource(
"backCam",
new Transform3d(
new Translation3d(
0.102078, // front/back
-0.253802, // left/right
1.222387 // up/down
),
new Rotation3d(0, Math.toRadians(17), Math.PI))));
0)))
);

public static final int THREAD_SLEEP_DURATION_MS = 5;
}
Expand Down

0 comments on commit e798778

Please sign in to comment.