I have been looking for a way to determine two dome parameters.
1/ How to perform an autocalibrate (number of ticks per turn) using the MaxDome II driver ?
2/ How to set the park azimuth if we want it to be different than the scope park azimuth ?
Thank you
There is no autocalibration method implemented in the MaxDomeII driver yet. If you want to figure out the ticks per turn you can use the following procedure:
go to the home position
put a high number (1000, for example) in "Ticks per turn"
move the dome a full turn with the manual buttons and check the angle in "Absolute position"
calculate the ticks per turn: 1000*angle/360
You have to choose a high initial value in "Ticks per turn" in order to be sure a full rotation does not exceed 360 degrees.
On the park azimuth question: I don't know what is the best method. I always keep the dome in the home position when unused, which is defined by the physical location of the index mark.
Yes I can home the dome to the Home Azimuth position that has been set in the Options.
A own park position for the dome is interesting for safety reasons.
This could be done by adding a Dome Azimuth field in the Options.
I think a "Park" button and a "Park azimuth" field would be very interesting additions to the MaxDomeII control panel. Also, a self-calibration procedure would be very useful.
I will work on those features as soon as possible. Thank you for your suggestions!
I've been testing the driver and found an error in the code!
I have to test it in the real MaxDomeII board, but I'm quite confident it is the bug that is causing you trouble.
I'm pretty busy this week, but I'll try to fix it as soon as I can.