Skip to content

Conversation

@agalasso
Copy link
Contributor

@agalasso agalasso commented Jan 28, 2026

ZWO ASI camera: workaround quirk for ROI changing size but not changing position

When the ROI size changes without the ROI position changing, the camera returns
an invalid frame not matching the expected ROI position.

The workaround is to always set the ROI position after setting the size.

This problem has gone undetected until now since PHD2 generally only moves
the ROI position (tracking the guide star), without changing the ROI size
(determined by the search region setting).

Callers using the new set_limit_frame server API method could see the problem
when the changing the limit frame ROI.

@agalasso agalasso self-assigned this Jan 28, 2026
@agalasso agalasso requested a review from bwdev01 January 28, 2026 21:19
@agalasso agalasso force-pushed the andy/zwo-asi-camera-roi-quirk-workaround branch from 000c8d8 to a900f62 Compare January 28, 2026 21:23
…ng position

When the ROI size changes without the ROI position changing, the camera returns
an invalid frame not matching the expected ROI position.

The workaround is to always set the ROI position after setting the size.

This problem has gone undetected until now since PHD2 generally only moves
the ROI position (tracking the guide star), without changing the ROI size
(determined by the search region setting).

Callers using the new set_limit_frame server API method could see the problem
when the changing the limit frame ROI.
@agalasso agalasso force-pushed the andy/zwo-asi-camera-roi-quirk-workaround branch from a900f62 to fa509f4 Compare February 1, 2026 22:25
@agalasso agalasso merged commit 5c686cc into master Feb 1, 2026
4 checks passed
@agalasso agalasso deleted the andy/zwo-asi-camera-roi-quirk-workaround branch February 1, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants