Skip to content

telescope moveaxis has unexpected ranges for Rate #42

@punkto

Description

@punkto

I have tested this issue with ASCOM Alpaca Simulators version 0.5.0 and 0.4.0 on Linux. If I start the simulator with default parameters (except for the port). When I do:

curl -X 'PUT' \
  'http://localhost:11111/api/v1/telescope/0/moveaxis' \
  -H 'accept: application/json' \
  -H 'Content-Type: multipart/form-data' \
  -F 'Axis=0' \
  -F 'Rate=9' \
  -F 'ClientID=0' \
  -F 'ClientTransactionID=23'

I get as response:

{"ClientTransactionID":23,"ServerTransactionID":8,"ErrorNumber":1025,"ErrorMessage":"MoveAxis set - '9' is an invalid value. The valid range is: , 0 to 6.666666666666667, 10 to 20."}

I have tested other rates to assert that the range is enforced. If I change the telescopes Slew Rate to another value (for example to 10 deg/sec) the range is updated to 0 to 3.3333333333333335, 5 to 10.

I have tried to search in the documentation or code for a reason to this behavior with no luck. Is it OK?

Thanks in advance for your time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions