Skip to content

Commit

Permalink
Added camera port constant
Browse files Browse the repository at this point in the history
  • Loading branch information
AraReighard committed Mar 19, 2024
1 parent ce3a677 commit 3bce374
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/main/java/frc/robot/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -229,4 +229,10 @@ public static class Climber {
/** Whether or not the climber is inverted. */
public static final boolean CLIMBER_INVERTED = true;
}

/** The constants for the cameras */
public static class Camera {
/** The camera id for the intake camera. */
public static final int INTAKE_CAMERA_ID = 0;
}
}
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public class RobotContainer {
public static PDP pdp = new PDP();

/* TODO: JAVADOC */
public static Camera intakeCamera = new Camera(0);
public static Camera intakeCamera = new Camera(Constants.Camera.INTAKE_CAMERA_ID);

/*
* ************
Expand Down

0 comments on commit 3bce374

Please sign in to comment.