Hi Stefano,
thanks for the quick reply.
I tried the fix you released, however the change is not correct: it is true that NINA no longer gives the error, but this way the program thinks that the telescope is already parked and starts to close the roof breaking everything.
The correct behavior is for the Park() command to set the Slewing property to true. Only when the telescope has reached its final position does the AtPark property become true and Slewing return false.
The telescope must always be in one of these three states:
- Stationary
- Tracking (including driving corrections)
- Slewing
In the case of your driver (official version) during the Parking and the FindHome action the telescope is moving but the Slewing property is not set consistently.
You can verify that the simulator provided by the ASCOM Initiative also behaves this way.
P.S. also in the fix version the Altitude and Azimuth properties are alwais 0.
Sorry for my nitpicking, but I work in a software company and I am used to pay attention to specifications and tests and also I am developing some tools using ASCOM drivers.
Best regards,
Mauro.
P.P.S. just found an explanation of correct behaviour on a similar Slewing property of the Dome Interface:
ascom-standards.org/COMDeveloper/Async.htm