|
10 | 10 | import org.photonvision.PhotonPoseEstimator;
|
11 | 11 |
|
12 | 12 | public interface Constants {
|
13 |
| - RobotMode CURRENT_MODE = RobotMode.REAL; |
| 13 | + RobotMode CURRENT_MODE = RobotMode.SIM; |
14 | 14 | CompetitionType CURRENT_COMPETITION_TYPE = CompetitionType.TESTING;
|
15 | 15 | double LOOP_PERIOD_SECONDS = 0.02;
|
16 | 16 |
|
@@ -40,22 +40,21 @@ interface Vision {
|
40 | 40 | new Translation3d(Units.inchesToMeters(11.862), Units.inchesToMeters(12.681), Units.inchesToMeters(8.947)),
|
41 | 41 | new Rotation3d(0, Units.degreesToRadians(-25), Units.degreesToRadians(20))
|
42 | 42 | );
|
43 |
| - |
44 | 43 | Transform3d ROBOT_TO_FC_APRILTAG = new Transform3d(
|
45 | 44 | new Translation3d(Units.inchesToMeters(13.36613), Units.inchesToMeters(8.5202), Units.inchesToMeters(6.759)),
|
46 | 45 | new Rotation3d(0, Units.degreesToRadians(-30), 0)
|
47 | 46 | );
|
48 |
| - |
49 | 47 | Transform3d ROBOT_TO_FR_APRILTAG = new Transform3d(
|
50 | 48 | new Translation3d(Units.inchesToMeters(11.838), Units.inchesToMeters(-12.861), Units.inchesToMeters(8.947)),
|
51 | 49 | new Rotation3d(0, Units.degreesToRadians(-25), Units.degreesToRadians(-20))
|
52 | 50 | );
|
53 |
| - |
54 |
| - Transform3d ROBOT_TO_REAR_NOTED = new Transform3d( |
| 51 | + Transform3d ROBOT_TO_REAR_NOTE = new Transform3d( |
55 | 52 | new Translation3d(Units.inchesToMeters(-16), Units.inchesToMeters(0), Units.inchesToMeters(14)),
|
56 | 53 | new Rotation3d(0, Units.degreesToRadians(21), Units.degreesToRadians(180))
|
57 | 54 | );
|
58 | 55 |
|
| 56 | + double NOTE_HEIGHT_Z = Units.inchesToMeters(2); |
| 57 | + |
59 | 58 | /**
|
60 | 59 | * Standard deviations of the supplied pose estimate (before vision, likely to be solely wheel odometry)
|
61 | 60 | */
|
|
0 commit comments