nexdome / ASCOM

NexDome ASCOM Driver
https://www.nexdome.com
MIT License
6 stars 7 forks source link

Conform issue: No exception thrown for illegal azimuth values #2

Closed NameOfTheDragon closed 5 years ago

NameOfTheDragon commented 5 years ago

When validating the driver with the ASCOM Conform utility, the following errors are produced:

19:35:54.633 SlewToAzimuth 315 OK Synchronous slew OK 19:35:57.766 SlewToAzimuth -10 OK Synchronous slew OK 19:36:00.888 SlewToAzimuth ERROR No exception generated when slewing to illegal azimuth -10 degrees 19:36:00.942 SlewToAzimuth 370 OK Synchronous slew OK 19:36:04.050 SlewToAzimuth ERROR No exception generated when slewing to illegal azimuth 370 degrees

This isn't a problem for the ASCOM driver because it simply applies modulo 360 arithmetic, but ASCOM requires that an exception be thrown for illegal azimuth values.