Skip to content

Refactor rotatorsettings

Toni Schriber requested to merge escriban/kstars:initrotator into master

Analyzing the unwanted movements of the rotator (see here and here) you, Jasem, discovered a reaction coupling while setting the camera position angle. (Thanks again!) Your approach with blocking signals works, but neglects the update of parameters, gauge and FOV. This merge request rearranges the code to take into account these updates. Additionally and most important the code for initialization of the rotator is totally refactored. The old routine (with access to "CaptureDeviceAdaptor") did not return the absolute rotator angle at all! It is now replaced with a direct call to the device. As one can see, it was necessary to delay this call for a speck of time. I hope this is reasonable.

I appreciate if you, Jasem, can test the code. (You own a "Nitecrawler", don't you?)

Edited by Toni Schriber

Merge request reports