Closed Ghir8 closed 2 years ago
JSON requires numbers to use point as the decimal separator and for consistency across the Alpaca API we have adopted this standard for parameter values as well. This is now documented in the Alpaca API reference on page 7.
Best wishes, Peter
Most ASCOM Client that we've tested, when try to slave the dome rotation with the telescope, send Az as double with respect of regional format, so the parser in CallMethod present in "Remote Server/ServerForm.cs" fail to correctly parse the sting in a proper double.
Logs shows:
A simple solution is including a string substitution directly in the switch of the GetParameter method, to avoid any other regional problems with doubles due to the InvariantCulture parameter, as you can see in our fork:
With this method the parser don't fail and the dome move as expected, as you can se in the logs: