New post
1

Alpaca Telescope Position Display, How To Make It Disappear When Position Is Unavailable? (Answer: Read On!)

I am making a telescope aiming aid using a camera and plate solving. I am using Alpaca to create a Telescope server that reports the plate-solved ra/dec to Sky Safari. I have this working-- Sky Safari connects to my Telescope server and puts up a bullseye at the ra/dec reported by the telescope, updating it as the telescope moves. Great!

Sometimes plate solving fails-- the telescope is moving too quickly, or the camera is out of focus. When this happens, I want the Sky Safari telescope position indicator to disappear (or change appearance); when the ra/dec becomes available again I want the telescope position indicator to re-appear.

I tried returning errors from the declination() and right_ascension() functions in my Telescope server, but Sky Safari continues to display the most recent non-error telescope position. How do I arrange to have the Alpaca telescope server signal the Sky Safari indicator to be disable and re-enabled?

Thanks,

-Steven

 

5 comments

  • Avatar
    Keiron Smith Official comment
  • 1
    Avatar
    Keiron Smith

    Steven,

    I've checked with our developers, Ros, and she said SkySafari doesn't visually show position read errors.

    Forcing a disconnection is probably the only way to hide the crosshairs.

    Great project!  Please keep us updated on your success.

    Thanks!

  • 1
    Avatar
    Steven R.

    Thanks for the quick response!

    Would forcing a disconnect imply that the Sky Safari user would need to re-initiate the connection? That would be unfortunate for a momentary position data dropout.

    Responding to a ValueNotSet error return from declination() and/or right_ascension(), by blanking, dimming, or changing the color of the telescope position indicator would be much better and would be in line with the ASCOM Alpaca API guidelines.

  • 0
    Avatar
    Steven R.

    So I've come up with a workaround. When my position data is stale, I'll report the last-known position, and "wiggle" the declination by a degree or so to indicate the data is not valid. Not the best solution, but better than nothing.

    Still, it would be great if Sky Safari were to render an error return on the declination() and right_ascension() calls in some suitable fashion (dim the crosshair, change its color, something).

     

  • 0
    Avatar
    Keiron Smith

    Developers will review your info when working on the telescope controls in the future.

    Thanks!

Please sign in to leave a comment.