Change from k2024Crescendo to kDefaultField for AprilTagFieldLayout (#1667)

This reduces the things we need to update each year

Signed-off-by: Jade Turner <spacey-sooty@proton.me>
Co-authored-by: Matt <matthew.morley.ca@gmail.com>
This commit is contained in:
Jade
2025-01-03 22:03:00 +08:00
committed by GitHub
parent 09a741f540
commit 7c254ec5dc
8 changed files with 10 additions and 10 deletions

View File

@@ -64,7 +64,7 @@ class PhotonCameraSim:
self.videoSimProcEnabled: bool = False
self.heartbeatCounter: int = 0
self.nextNtEntryTime = wpilib.Timer.getFPGATimestamp()
self.tagLayout = AprilTagFieldLayout.loadField(AprilTagField.k2024Crescendo)
self.tagLayout = AprilTagFieldLayout.loadField(AprilTagField.kDefaultField)
self.cam = camera
self.prop = props

View File

@@ -108,7 +108,7 @@ class PhotonCameraSim {
double minTargetAreaPercent;
frc::AprilTagFieldLayout tagLayout{
frc::AprilTagFieldLayout::LoadField(frc::AprilTagField::k2024Crescendo)};
frc::AprilTagFieldLayout::LoadField(frc::AprilTagField::kDefaultField)};
cs::CvSource videoSimRaw;
cv::Mat videoSimFrameRaw{};