Adding Drivebase changes from 1/20 build session, AprilTagLock works!

This commit is contained in:
2024-01-20 15:59:07 -05:00
parent 385f606ed0
commit 215f982932
5 changed files with 43 additions and 8 deletions

View File

@@ -47,5 +47,5 @@ public final class DrivetrainConstants {
public static final boolean kGyroReversed = true;
public static final double kRobotStartOffset = 0;
public static final double kRobotStartOffset = 90;
}

View File

@@ -0,0 +1,17 @@
package frc.robot.constants;
import edu.wpi.first.math.geometry.Transform3d;
import edu.wpi.first.math.util.Units;
public class PhotonConstants {
public static final String kCameraName = "Camera_Module_v1";
// TODO Set this to something real if visual pose estimation is used
public static final Transform3d kCameraTransform = new Transform3d();
// TODO The camera will be moved, this is an old value that needs to update
public static final double kCameraHeightMeters = .517525;
// TODO The camera will be moved, this is an old value that needs to update
public static final double kCameraPitchRadians = Units.degreesToRadians(15);
}