|
14 | 14 |
|
15 | 15 | public final class VISION { |
16 | 16 | public enum CAMERA_SERVER { |
17 | | - limelightL("limelight-left", "10.42.1.12"), |
| 17 | + // v2.0 configuration: |
| 18 | + // Limelight left (now front) -> 10.42.1.12 |
| 19 | + // Limelight right -> 10.42.1.11 |
| 20 | + |
| 21 | + // v2.5 configuration: |
| 22 | + // Limelight front (formerly left) -> 10.42.1.12 |
| 23 | + // Limelight left (new) -> 10.42.1.13 |
| 24 | + // Limelight right -> 10.42.1.11 |
| 25 | + |
| 26 | + limelightF("limelight-front", "10.42.1.12"), |
18 | 27 | limelightR("limelight-right", "10.42.1.11"), |
19 | | - // limelight 3 |
20 | | - limelightB("limelight-back", "10.42.1.13"); |
| 28 | + limelightL("limelight-left", "10.42.1.13"); |
21 | 29 |
|
22 | 30 | private final String name; |
23 | 31 | private final String ip; |
@@ -47,23 +55,6 @@ public String toString() { |
47 | 55 | public static final Angle kLimelight4VFOV = Degrees.of(56.2); |
48 | 56 | public static final Angle kLimelight4DFOV = Degrees.of(75.07); |
49 | 57 |
|
50 | | - // TODO: Update values |
51 | | - // Camera offset from robot center. Camera F is positioned on the hopper |
52 | | - public static final Transform3d limelightFPosition = |
53 | | - new Transform3d( |
54 | | - new Translation3d( |
55 | | - Meters.of(0).magnitude(), Meters.of(0).magnitude(), Meters.of(0).magnitude()), |
56 | | - new Rotation3d(Degrees.of(0), Degrees.of(0), Degrees.of(180))); |
57 | | - |
58 | | - // TODO: Update values |
59 | | - // Camera offset from robot center. Camera B is facing out of the rear of the robot (On the |
60 | | - // EndEffector side) |
61 | | - public static final Transform3d limelightBPosition = |
62 | | - new Transform3d( |
63 | | - new Translation3d( |
64 | | - Meters.of(0).magnitude(), Meters.of(0).magnitude(), Meters.of(0).magnitude()), |
65 | | - new Rotation3d(Degrees.of(0), Degrees.of(0), Degrees.of(180))); |
66 | | - |
67 | 58 | public static final Distance poseXTolerance = Inches.of(4); |
68 | 59 | public static final Distance poseYTolerance = Inches.of(4); |
69 | 60 | public static final Distance poseZTolerance = Inches.of(4); |
|
0 commit comments