@@ -43,20 +43,20 @@ public class TagServoingConstants {
4343
4444 // Offsets (left is negative, right is pos)
4545 public static final double [][][] kBlueCoralOffset = {
46- {{0 , 0 }, {0 , 0 }, {0 , 0 }, {0 , 0 }},
47- {{0 , 0 }, {0 , 0 }, {0 , 0 }, {0 , 0 }},
48- {{0 , 0 }, {0 , 0 }, {0 , 0 }, {0 , 0 }},
49- {{0 , 0 }, {0 , 0 }, {0 , 0 }, {0 , 0 }},
50- {{0 , 0 }, {0 , 0 }, {0 , 0 }, {0 , 0 }},
51- {{0 , 0 }, {0 , 0 }, {0 , 0 }, {0 , 0 }}
46+ {{- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }},
47+ {{- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }},
48+ {{- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }},
49+ {{- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }},
50+ {{- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }},
51+ {{- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }}
5252 }; // Alliance relative hexant, level, left/right
5353 public static final double [][][] kRedCoralOffset = {
54- {{0 , 0 }, {0 , 0 }, {0 , 0 }, {0 , 0 }},
55- {{0 , 0 }, {0 , 0 }, {0 , 0 }, {0 , 0 }},
56- {{0 , 0 }, {0 , 0 }, {0 , 0 }, {0 , 0 }},
57- {{0 , 0 }, {0 , 0 }, {0 , 0 }, {0 , 0 }},
58- {{0 , 0 }, {0 , 0 }, {0 , 0 }, {0 , 0 }},
59- {{0 , 0 }, {0 , 0 }, {0 , 0 }, {0 , 0 }}
54+ {{- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }},
55+ {{- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }},
56+ {{- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }},
57+ {{- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }},
58+ {{- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }},
59+ {{- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }, {- 0.00635 , - 0.00635 }}
6060 }; // Alliance relative hexant, level, left/right
6161
6262 // Tag align
@@ -101,6 +101,8 @@ public class TagServoingConstants {
101101 public static final double kCoralStuckAllowence = 0.03 ;
102102
103103 // Reef
104- public static final Translation2d kBlueReefPose = new Translation2d (4.489323 , 4.0259 );
105- public static final Translation2d kRedReefPose = new Translation2d (13.058902 , 4.0259 );
104+ public static final Translation2d kBlueReefPose =
105+ new Translation2d (4.489323 , 4.02082 ); // welded: 4.489323, 4.0259
106+ public static final Translation2d kRedReefPose =
107+ new Translation2d (13.058902 , 4.02082 ); // welded: 13.058902, 4.0259
106108}
0 commit comments