-
-
Notifications
You must be signed in to change notification settings - Fork 838
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add abort telescope slew signals to LX200 and NexStar telescopes #2754
Conversation
9ecf035
to
addc637
Compare
You should read the target coordinates from the mount after stopping slewing and place marker in these coordinates |
If I knew how this positioning interpolation stuff works I could maybe do that. But while I can estimate that I should test with hasKnownPosition() and can likely retrieve pos with getJ2000EquatorialPos(), I know zilch how to set that. How do the InterpolatedPositions work? Is that a ring buffer? What is the purpose of Position.{server_micros, client_micros,status}? Dev docs are so annoyingly often missing or useless in this plugin! IDC where some struct had been defined 15 years ago and "now" moved over. I wish somebody could reverse-engineer a design document for this plugin! |
InterpolatedPositions is own implementation of interpolation and this is does not touches NexStar/LX200 implementation - it's similar, not equal. LX200/NexStar protocols have methods for getting current coordinates from the mount and this parts of protocols are not implemented. |
The Telescope Control plugin should be fully redesigned and rewritten and it should support asynchronous for connection to the devices. I full agree - we need experts for it. |
I see that the TelescopeClientDirectLx200 has an interpolatedPosition that does something. But I don't dare touching this without fitting device and high enough personal interest in this plugin. Anyone out there? |
c853b9b
to
76e8028
Compare
76e8028
to
14fd6a2
Compare
It's not async by design? Oh! Hmm, if I'm diving into this plugin then, as others said, it may need a rethink. And then I'd need to find folk with hardware who can test. I have a SkyWatcher mount but that's it, not the others. |
This comment was marked as resolved.
This comment was marked as resolved.
14fd6a2
to
6a9809b
Compare
This comment was marked as resolved.
This comment was marked as resolved.
Almost two years, and almost no response. Does nobody have an LX200 or NexStar telescope to test this? Or is this feature of no interest after all? |
- free deleted pointees - questions to original dev...
@alex-w It seems there is regular communication from LX200/NexStar to retrieve instrument position in update(). This plugin is so amazingly entangled, so underdocumented, it is a pain to go through without having an actual telescope to try out... I see no input from any testers with instruments, and I guess we can wait for 5 more years before anyone would show up. We could just put that in 24.3 and wait for response by users. And while we are in this, I could disable ASCOM support for Qt6. I can confirm it is still broken with the ASCOM simulator. Just task-switch to other programs a few times, and any time seconds to minutes later debugger finds us in a library which we cannot change. Then we should move on from ASCOM (Win only) to Alpaca (all platforms, TCP/IP communication), maybe as early as 24.4. |
Hello @gzotti! Please check the fresh version (development snapshot) of Stellarium: |
Hello @gzotti! Please check the latest stable version of Stellarium: |
Description
I found that most telescopes are missing the AbortSlew implementation. This is severely bad. This PR should add the signals at least for LX200 and NexStar.
However, I cannot test it, so this needs external help. I unassigned myself for now in the hope one of our active observers steps in. It may just take a rainy weekend or two. Of course, support for a Big Red Button (emergency switch, separate hardware) would also be nice!
Fixes # (issue)
Screenshots (if appropriate):
Type of change
How Has This Been Tested?
Test Configuration:
Checklist: