Skip to content

Disable camera orientation option when camera is calibrated#1277

Merged
mcm001 merged 6 commits intoPhotonVision:masterfrom
philltran:philltran/disable-orientation-when-calibrated
Mar 15, 2024
Merged

Disable camera orientation option when camera is calibrated#1277
mcm001 merged 6 commits intoPhotonVision:masterfrom
philltran:philltran/disable-orientation-when-calibrated

Conversation

@philltran
Copy link
Contributor

This is a stop gap for issue #1084. The input option is disabled for camera rotation when the active camera has been calibrated based on useCameraSettingsStore().isCurrentVideoFormatCalibrated

Long term fix should be to use the rotation data for calibrated camera pipelines.

@philltran philltran requested a review from a team as a code owner March 14, 2024 15:21
@mcm001 mcm001 merged commit 5b878fe into PhotonVision:master Mar 15, 2024
@philltran
Copy link
Contributor Author

@mcm001 Thanks for your help with this! I will make sure to run the linter next time.

samfreund pushed a commit that referenced this pull request Feb 20, 2026
Around a year ago, this PR #1277 added checks to make sure that users
weren't enabling camera rotation when they calibrated their cameras as a
stop gap to Issue #1084

However PR #1464 has resolved this issue (see
#1084 (comment))
and I wanted to update the orientation tooltip in the dashboard to
reflect this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants