Should CCM be an action or a property
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Refactor
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- backend-api-design
Research direction
Start by reading the existing CCM property and its Control implementation, focusing on the restart requirement when setting the colour correction matrix. Decide whether CCM should be read-only with a separate action, and define whether reset restores only the static CCM or the whole default tuning; done means the API design and reset behavior are unambiguous.
Written by the indexing model from the issue text.
Description
Setting the colour correction matrix requires restarting the camera. It may be that this means CCM should not be a writeable property. A read-only property based on the Control (i.e. previous implementation) combined with an action to set a static CCM might be the most consistent way of doing this.
Resetting the CCM should probably also restore the whole default tuning, rather than a single static CCM, but this isn't a major problem for now.
- Dominant language
- Python
- Stars
- 3
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from labthings/labthings-picamera2
-
Difficulty 3/5 1-2 days Newbie friendliness 40/100
-
capture_jpeg() has no quality factorPossibly taken @JohemianKnapsody claimed this 637 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
labthings/labthings-picamera2#12 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
labthings/labthings-picamera2#6 · 1 comment ·
All issues in labthings/labthings-picamera2
Similar issues
-
bug feature request
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Qiskit/qiskit-obp#156 ·
-
action-item enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
getcommunityone/open-navigator#1658 ·
Maintainers usually reply within 1 day
-
review-panel severity:low
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
kristovatlas/coin-accounting#636 ·
Maintainers usually reply within 1 day