Beginnings of a different solution for the PhotonVision cameras
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
package frc.robot.constants;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import edu.wpi.first.math.geometry.Transform3d;
|
||||
import frc.robot.utilities.PhotonVisionConfig;
|
||||
|
||||
public class PhotonConstants {
|
||||
public static final String kCamera1Name = "pv1";
|
||||
@@ -14,4 +17,9 @@ public class PhotonConstants {
|
||||
public static final double kCamera1PitchRadians = 0;
|
||||
public static final double kCamera2HeightMeters = 0;
|
||||
public static final double kCamera2PitchRadians = 0;
|
||||
|
||||
public static final List<PhotonVisionConfig> configs = List.of(
|
||||
new PhotonVisionConfig(kCamera1Name, kCamera1RobotToCam, kCamera1HeightMeters, kCamera1PitchRadians),
|
||||
new PhotonVisionConfig(kCamera2Name, kCamera2RobotToCam, kCamera2HeightMeters, kCamera2PitchRadians)
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user