Add multiple cameras

This commit is contained in:
Michael Mikovsky
2025-02-06 13:02:39 -07:00
parent 426d9f231a
commit 0bfd2f0b5b
4 changed files with 100 additions and 73 deletions
+2 -1
View File
@@ -35,7 +35,8 @@ public class RobotMap {
// private Pigeon2 m_pigeon2 = new Pigeon2(SwerveDriveConstants.IDs.DRIVE_PIGEON.id);
// public RobotGyro gyro = new RobotGyro(m_pigeon2);
public PhotonCamera camera = new PhotonCamera(VisionConstants.CAMERA_NAME);
public PhotonCamera leftCamera = new PhotonCamera(VisionConstants.LEFT_CAMERA_NAME);
public PhotonCamera rightCamera = new PhotonCamera(VisionConstants.RIGHT_CAMERA_NAME);
public RobotMap() {
configureDriveMotorControllers();