QHY- Crash during autofocus with "inner crop ratio" option and a color camera
When starting my sequence, app is now crashing after succesful platesolve.
I just discovered it was due to the autofocus option “AF Inner Crop Ratio”.
Tried setting it to 0.75
Setting back to default 1 fixes the issue.
However, instead of crashing, the app should show an error message and/or append to log
Comments (16)
-
reporter -
repo owner Please attach your log file.
Ideally set the log file to trace, reproduce your issue and then add it to the issue. Furthermore a more in-depth description of your problem would be beneficial. Which camera etc.Thanks.
-
reporter You are right, I’m sorry. For the relevant hardware:
- Camera is a QHY294C
- Focuser is a GCUSB-nStep, attached to the knob of my C11
http://www.astrogene1000.com/products/gcusb_nstep/gcusb_nstep.htm
I will reproduce the issue and include the logs. Should include more verbose in them? The level is currently INFO.
-
reporter - attached 20200731-193825-1.10.0.9001.6440.log
-
reporter I’ve set the logs level to “trace” set the value of “AF Inner Crop Ratio” to 0.75 and restarted the app (would not cause the crash otherwise, I think option is read only at app startup?).
Reproduced the crash and attached the log (above).
To reproduce the problem after the restart to enable my option changes, I went minimal:
- Connect the camera
- Connect the autofocus
- Go to “Imaging” section
- Go to “Autofocus” tab
- Launch autofocus
- Once exposure and debayering is done ..BOOM!
-
Potentially has to do with debayering, can you reproduce with debayering turned off?
-
reporter I’ve putted back the value to 0.75
- Tested by disabling the option “Debayered HFR”, it still crashed
- Tested by disabling the option “Debayer Image”, it did not crash and the autofocus started moving to next position
So it is confirming that the debayer operation is causing a problem.
My camera is a QHY294C, on a fresh NINA 1.10 install (3 days old).
I’m connecting using the native driver, not ASCOM.
Fortunately, I don’t absolutely need that feature. I was interested to see if that would give better results since I’m mounted on a C11 Edge HD with Hyperstar and I have substantial vignetting.
-
repo owner Hmm yea sub sampling with a bayer matrix will shred the bayer matrix as not the complete data is availabl... That could cause a problem during the debayer process.
-
reporter True! with debayer and a value of 0.75, for a usual 2x2 color pixels, it should match half the resolution, something like:
resolutionWidthOrHeight / 2 * 0.75 * 2Work all coordinates at half resolution then put them at original
-
repo owner - marked as minor
Set to minor as this is a fringe scenario.
-
reporter -
Daniel, is it possible you could pass the setup parameters for autofocus in NINA?. I have the same exact equipment, C11 with a Rigel Systems nStep Focuser. i’ll appreciate it very much.
-
Just want to confirm, that the exact same issue is also present in current nightly build. Tried it last night (18.06.2021/19.06.2021). I am using a QHY268C with the native driver. A inner crop ratio of 0.5 or 1 is working fine, while 0.75 leads to instant crashes.
-
repo owner -
repo owner Does this still happen with the latest nightly? There might have been some changes to prevent this.
-
repo owner - changed status to resolved
This is most likely fixed by commit 5b138235
If the problem is still reproducable, please reopen.
- Log in to comment
The crash was silent, window just disappearing. No logs entry too.