Minor cleanup
This commit is contained in:
@@ -57,12 +57,7 @@ public class Robot extends TimedRobot {
|
||||
public Robot() {
|
||||
visionSim = new VisionSystemSim("main");
|
||||
|
||||
try {
|
||||
visionSim.addAprilTags(AprilTagFieldLayout.loadFromResource(AprilTagFields.k2026RebuiltWelded.m_resourceFile));
|
||||
} catch (IOException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}
|
||||
visionSim.addAprilTags(AprilTagFieldLayout.loadField(AprilTagFields.k2026RebuiltWelded));
|
||||
|
||||
cameraProperties = new SimCameraProperties();
|
||||
cameraProperties.setCalibration(
|
||||
@@ -96,7 +91,7 @@ public class Robot extends TimedRobot {
|
||||
Units.inchesToMeters(28.5),
|
||||
new Rotation3d(
|
||||
Units.degreesToRadians(0),
|
||||
Units.degreesToRadians(-24.0),
|
||||
Units.degreesToRadians(-24.0), // Change this from -24 to 24 to see the bad effect
|
||||
Units.degreesToRadians(30.0)
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user