Adding Drivebase changes from 1/20 build session, AprilTagLock works!
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
17
src/main/java/frc/robot/constants/PhotonConstants.java
Normal file
17
src/main/java/frc/robot/constants/PhotonConstants.java
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user