Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize camera image gain to a consistent ISO of 150 #48

Merged
merged 6 commits into from
Aug 23, 2024

Conversation

ethanjli
Copy link
Member

@ethanjli ethanjli commented Aug 23, 2024

This PR is part of a fix for a regression reported to me (privately, in DMs) by @fabienlombard on PlanktoScope OS v2024.0.0-beta.1, in which the default ISO setting displayed on the Node-RED dashboard was inconsistent with the actual initial image gain (of 1.0, which corresponds to an ISO of ~54 on the PlanktoScope hardware v2.1's camera and an ISO of ~43 on the PlanktoScope hardware v2.3+'s camera). This PR initializes the image gain value to match a consistent ISO setting of 150, which will become the default ISO setting for both the adafruithat Node-RED dashboard and the planktoscopehat Node-RED dashboard.

This fix was discussed and approved in the 2024-07-25 software meeting.

@ethanjli ethanjli marked this pull request as ready for review August 23, 2024 02:12
@ethanjli
Copy link
Member Author

I tested this PR in PlanktoScope/PlanktoScope#467 and it seems to work, so I will merge this PR.

@ethanjli ethanjli added this pull request to the merge queue Aug 23, 2024
Merged via the queue into main with commit b2e1f92 Aug 23, 2024
5 checks passed
@ethanjli ethanjli deleted the fix/default-image-gain branch August 23, 2024 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

1 participant