Skip to content

Add OV9281 AE startup quirk#1814

Merged
Gold856 merged 5 commits intoPhotonVision:mainfrom
mcm001:ov9281-fix-exposure-stuck
Jan 26, 2026
Merged

Add OV9281 AE startup quirk#1814
Gold856 merged 5 commits intoPhotonVision:mainfrom
mcm001:ov9281-fix-exposure-stuck

Conversation

@mcm001
Copy link
Copy Markdown
Contributor

@mcm001 mcm001 commented Mar 16, 2025

Description

In #1771, we discovered that the OV9281 on Linux seems to sometimes ignore our exposure requests on first boot if we're in manual mode. Cycling the camera's auto exposure with pauses in-between seems to fix it, which is what this PR does.

Tested by Team 2881 on Discord; thanks for helping us test this fix out!

Meta

Closes #1771

Merge checklist:

  • Pull Request title is short, imperative summary of proposed changes
  • The description documents the what and why
  • If this PR changes behavior or adds a feature, user documentation is updated
  • If this PR touches photon-serde, all messages have been regenerated and hashes have not changed unexpectedly
  • If this PR touches configuration, this is backwards compatible with settings back to v2024.3.1
  • If this PR addresses a bug, a regression test for it is added

@github-actions github-actions Bot added the backend Things relating to photon-core and photon-server label Jan 23, 2026
@Gold856 Gold856 force-pushed the ov9281-fix-exposure-stuck branch from 44f483d to a989a9e Compare January 25, 2026 23:42
@Gold856 Gold856 enabled auto-merge (squash) January 25, 2026 23:45
@Gold856 Gold856 disabled auto-merge January 25, 2026 23:51
@Gold856 Gold856 enabled auto-merge (squash) January 25, 2026 23:51
@Gold856 Gold856 merged commit 4139566 into PhotonVision:main Jan 26, 2026
136 of 137 checks passed
@mcm001 mcm001 deleted the ov9281-fix-exposure-stuck branch January 26, 2026 00:49
samfreund pushed a commit that referenced this pull request Apr 10, 2026
On a Luma P1, autoexposure on first boot was getting overridden with the manual exposure setting. This was traced back to #1814, where the order of setting auto exposure and raw exposure was flipped. This flips it back.
cswilson252 pushed a commit to cswilson252/photonvision that referenced this pull request Apr 22, 2026
On a Luma P1, autoexposure on first boot was getting overridden with the manual exposure setting. This was traced back to PhotonVision#1814, where the order of setting auto exposure and raw exposure was flipped. This flips it back.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Things relating to photon-core and photon-server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Arducam B332 (OV9281) USB Camera Exposure Settings Not Working

2 participants