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

Capture.cpp changes #741

Merged
merged 16 commits into from
Nov 1, 2021
Merged

Capture.cpp changes #741

merged 16 commits into from
Nov 1, 2021

Conversation

EricClaeys
Copy link
Collaborator

This PR replaces the one with only a few commits.
This PR has a bunch of commits, each with fewer changes to make it easier to read.

Renamed currentExposure and newExposure
actualExposureMicroseconds
asiDayExposure
asiNightExposure
asiNightMaxExposure
DEFAULT_ASINIGHTMAXEXPOSURE
cameraMaxAutoExposureUS
Added asi_day_max_exposure_ms and current_max_exposure_us
Moved some code due to adding asi_day_max_exposure
textBuffer -> debug_text and debug levels
darkframe -> taking_dark_frames
Merge computeHistogram() into calculateHistogramMean() - they are always called together.
Call calculateHistogramMean() from takeOneExposure() to allow better debug statements.
Grabbed the code from PHD2, which states that the ZWO cameras have 2 internal buffers that need to be cleared.
I'll remove the old code (which no longer runs) when I'm sure the new code works on different cameras.
and display error message if write of image to disk failed.
@EricClaeys EricClaeys added bug needs software change config labels Oct 28, 2021
@EricClaeys EricClaeys linked an issue Oct 29, 2021 that may be closed by this pull request
Slightly more accurate write time.
Includes average write time.
@linuxkidd linuxkidd merged commit 414bb01 into master Nov 1, 2021
@EricClaeys EricClaeys deleted the capture.cpp-changes branch November 1, 2021 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs software change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Preview issue on arm64 system
2 participants