PhotonVision / photonvision

PhotonVision is the free, fast, and easy-to-use computer vision solution for the FIRST Robotics Competition.
https://photonvision.org
GNU General Public License v3.0
262 stars 166 forks source link

Version Check Enable not being respected in C++ Photonlib #1322

Closed r4stered closed 1 month ago

r4stered commented 1 month ago

Describe the bug When calling SetVersionCheckEnabled on a PhotonCamera (before or after moving to a PhotonPoseEstimator), we should skip version checking. However, even after calling SetVersionCheckEnabled(false), the function is still called.

To Reproduce Steps to reproduce the behavior: Create an instance of PhotonCamera and call SetVersionCheckEnabled(false) on it. Run a project and watch the VerifyVersion warning appear.

Screenshots / Videos image