@@ -66,40 +66,42 @@ public static class Reef {
66
66
public static final double faceToZoneLine =
67
67
Units .inchesToMeters (12 ); // Side of the reef to the inside of the reef zone line
68
68
69
+ @ Getter
69
70
public static final Pose2d [] centerFaces =
70
71
new Pose2d [6 ]; // Starting facing the driver station in clockwise order
72
+
71
73
public static final List <Map <ReefHeight , Pose3d >> branchPositions =
72
74
new ArrayList <>(); // Starting at the right branch facing the driver station in
73
75
// clockwise
74
76
75
77
static {
76
78
// Initialize faces
77
- centerFaces [0 ] =
79
+ centerFaces [0 ] = // reef id 18
78
80
new Pose2d (
79
81
Units .inchesToMeters (144.003 ),
80
82
Units .inchesToMeters (158.500 ),
81
83
Rotation2d .fromDegrees (180 ));
82
- centerFaces [1 ] =
84
+ centerFaces [1 ] = // reef id 19
83
85
new Pose2d (
84
86
Units .inchesToMeters (160.373 ),
85
87
Units .inchesToMeters (186.857 ),
86
88
Rotation2d .fromDegrees (120 ));
87
- centerFaces [2 ] =
89
+ centerFaces [2 ] = // reef id 20
88
90
new Pose2d (
89
91
Units .inchesToMeters (193.116 ),
90
92
Units .inchesToMeters (186.858 ),
91
93
Rotation2d .fromDegrees (60 ));
92
- centerFaces [3 ] =
94
+ centerFaces [3 ] = // reef id 21
93
95
new Pose2d (
94
96
Units .inchesToMeters (209.489 ),
95
97
Units .inchesToMeters (158.502 ),
96
98
Rotation2d .fromDegrees (0 ));
97
- centerFaces [4 ] =
99
+ centerFaces [4 ] = // reef id 22
98
100
new Pose2d (
99
101
Units .inchesToMeters (193.118 ),
100
102
Units .inchesToMeters (130.145 ),
101
103
Rotation2d .fromDegrees (-60 ));
102
- centerFaces [5 ] =
104
+ centerFaces [5 ] = // reef id 17
103
105
new Pose2d (
104
106
Units .inchesToMeters (160.375 ),
105
107
Units .inchesToMeters (130.144 ),
0 commit comments