-
Notifications
You must be signed in to change notification settings - Fork 213
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
ZWO ASI Camera - GPSStartLine invalid value #867
Comments
Reference to the issue in the forums: https://www.indilib.org/forum/ccds-dslrs/14057-asi1600-and-gpsstartline.html |
Thank you for the report. Should we explicitly set this to zero on startup ? |
This is documented in the header file:
so this only affects GPS-enabled cameras or what? |
The controls are directly enumerated from the SDK as are their default values so we don't specifically handle the GPS controls in any way. It definitely seems like a bug in the SDK that they offer those controls for cameras that don't have GPS functionality at all. I guess I could add a workaround to initialize those two controls to the values they are supposed to contain (0 and max height - 1) if they are present. |
As far as I know, there are no current ZWO cameras with GPS functionality. Maybe this is an indication that some new cameras are going to have GPS functionality. I wonder if the binning setting would affect these settings since it would change the geometry of the sensor. |
Yes we ran into this in NINA when updating the SDK for its native ZWO driver recently. It's very annoying. I posted about the issue of every camera acting like it has a GPS on the ZWO forums but essentially got a non-answer regarding it. There appears to be an additional bug with the error code it throws sometimes. I found myself in this #issue as a part of setting up my own allsky camera the other night, which pulled down the INDI version that ships this problematic SDK version. |
…fault values for GPS controls on cameras that don't have GPS and fails to complete exposures if the value is written back. More discussion on the issue at indilib#867
Fix is now available in master, please re-test. |
INDI 2.0.5 (may affect 2.0.4 as well)
The latest ZWO ASI SDK introduces some new variables which do not have sane defaults, resulting in the camera not operating properly.
The two new variables under the
CCD_CONTROLS
property areGPSStartLine
andGPSEndLine
. The default value of GPSStartTime is invalid causing other variables like Gain to be unable to be set unless GPSStartLine is set to a valid value, such as 0.There are no GPS devices, so I do not think the "GPS" string refers to global positioning system.
The variables are only available on certain camera modules and not others. So far, I have seen reference to it affecting the ASI224MC and ASI1600.
It apparently does not affect the ASI678 and ASI2600.
The text was updated successfully, but these errors were encountered: