mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
Add version verification disable switch in photonlib (#437)
This commit is contained in:
@@ -294,6 +294,7 @@ TEST_P(SimVisionSystemCameraPitchParamTest, CameraPitch) {
|
||||
frc::Transform2d(frc::Translation2d(), frc::Rotation2d()), 0.0_m,
|
||||
units::degree_t(testPitch));
|
||||
|
||||
photonlib::PhotonCamera::SetVersionCheckEnabled(false);
|
||||
sysUnderTest.ProcessFrame(robotPose);
|
||||
auto result = sysUnderTest.cam.GetLatestResult();
|
||||
ASSERT_TRUE(result.HasTargets());
|
||||
|
||||
Reference in New Issue
Block a user