×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

indi_celestron_cgx - direct usb connection to CGX/CGX-L

  • Posts: 216
  • Thank you received: 120
Yeah, the polar alignment routine in Ekos just works with the main camera on the scope, so no polar scope or side mounted scope needed.

Here's a good tutorial on it: www.stellarmate.com/support/ekos/align.html#mytoc14

Just be sure to select the proper speed in the drop down before clicking start. Sometimes it defaults to nothing or a really slow speed. I use Max.

The following user(s) said Thank You: Jerry Black, Jim S.
3 years 5 months ago #64011
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 216
  • Thank you received: 120
I think I got the meridian flip issue fixed. Just pull the latest from github and re-build. If the slew should move more than half a rotation, we go back to the home position first, then continue the slew. Helps with accuracy, as well, since we reset the tick count.
3 years 5 months ago #64022

Please Log in or Create an account to join the conversation.

  • Posts: 10
  • Thank you received: 0
Thank you for your work! Would it be possible to also implement the INDI::FocuserInterface interface? I assume it would be possible to copy over the code from the indi_celestron_gps driver?
3 years 3 months ago #67450

Please Log in or Create an account to join the conversation.

  • Posts: 10
  • Thank you received: 0
Sorry for the 'double' reply. For some reason the first one didn't who up.

Thank you for your work! Would it be possible to also implement the INDI::FocuserInterface interface? I assume it would be possible to copy over the code from the indi_celestron_gps driver?
Last edit: 3 years 2 months ago by Hansli Meier.
3 years 2 months ago #68062

Please Log in or Create an account to join the conversation.

  • Posts: 10
  • Thank you received: 0
Hi Rick

I've cloned your repository and built it. It all seems to work well (on a RaspberryPi 4) However when starting KSTars and connecting to the CGX the driver indi-celestron-cgx crashes. I have the latest KStar and indi installed. It looks like the problem is the Celestron Focuser. When I remove the aux cable it works. This is what I found in the log files:

[2021-05-24T21:28:09.925 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-05-24T19:28:09: Driver indi_celestron_cgx: unknown command 0xf0 MSG: 3b 04 00 11 f0 f0 0b "
[2021-05-24T21:28:09.926 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-05-24T19:28:09: Driver indi_celestron_cgx: unknown command 0xf0 MSG: 3b 04 00 10 f0 f0 0c "
[2021-05-24T21:28:09.926 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-05-24T19:28:09: Driver indi_celestron_cgx: unknown command 0xf0 MSG: 3b 04 00 11 f0 f0 0b "
[2021-05-24T21:28:09.927 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-05-24T19:28:09: Driver indi_celestron_cgx: unknown command 0xf0 MSG: 3b 04 00 10 f0 47 b5 "
[2021-05-24T21:28:09.927 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-05-24T19:28:09: Driver indi_celestron_cgx: Checksum error: 24 vs. 00MSG: 3b 3b 04 11 00 f0 f0 0b 3b 04 10 00 f0 f0 0c 3b 07 10 00 fe 07 11 00 19 ba 3b 04 11 00 f0 f0 0b 3b 04 11 00 f0 f0 0b 3b 04 10 00 f0 f0 0c 3b 04 11 00 f0 f0 0b 3b 04 10 00 f0 f0 0c 04 00 "
[2021-05-24T21:28:09.928 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-05-24T19:28:09: Driver indi_celestron_cgx: unknown command 0x00 MSG: 3b 3b 04 11 00 f0 f0 0b 3b 04 10 00 f0 f0 0c 3b 07 10 00 fe 07 11 00 19 ba 3b 04 11 00 f0 f0 0b 3b 04 11 00 f0 f0 0b 3b 04 10 00 f0 f0 0c 3b 04 11 00 f0 f0 0b 3b 04 10 00 f0 f0 0c 04 24 "
[2021-05-24T21:28:09.928 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-05-24T19:28:09: Driver indi_celestron_cgx: *** stack smashing detected ***: <unknown> terminated"
[2021-05-24T21:28:09.929 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "2021-05-24T19:28:09: Driver indi_celestron_cgx: stderr EOF"
[2021-05-24T21:28:09.930 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "<delProperty device=\"Celestron CGX USB\"/>"
[2021-05-24T21:28:09.931 CEST DEBG ][ org.kde.kstars.indi] - INDI Server: "Child process 4781 died"

Any idea what this could be?

Thx
Hansli
3 years 9 hours ago #71592

Please Log in or Create an account to join the conversation.

  • Posts: 216
  • Thank you received: 120
Hansli, I haven't updated this code in a while, now that the celestron aux driver is more mature I'd definitely recommend using that one over this one.
2 years 11 months ago #71605

Please Log in or Create an account to join the conversation.

  • Posts: 10
  • Thank you received: 0
Thx Rick, I'll give it a try. Quickly glancing at the code it seems that there is no special treatment for CGX/CGX-L to make use of the home switches. If the code overalls work it would be great to add that functionality. If the current contributors are happy then I might give it a try and add it (as well as support for the focuser).
2 years 11 months ago #71607

Please Log in or Create an account to join the conversation.

  • Posts: 216
  • Thank you received: 120
If you'd like to add a PR to add the functionality to indi_celestron_cgx, I'd be happy to merge it. I'm in the process of upgrading my mount away from the CGX, and I don't have the Celestron Focuser, so I can't really give it a good test.
2 years 11 months ago #71608

Please Log in or Create an account to join the conversation.

  • Posts: 10
  • Thank you received: 0
Given that you suggested to use indi-celestron-aux instead of indi-celestron-cgx I guess it makes more sense to add the CGX specific functionality to indi-celestron-aux. Would you agree?
2 years 11 months ago #71609

Please Log in or Create an account to join the conversation.

  • Posts: 216
  • Thank you received: 120
Yes. If you can figure out how to identify that it is a CGX, then add the buttons to the UI in the celestron-aux driver, that would be ideal.
2 years 11 months ago #71610

Please Log in or Create an account to join the conversation.

Time to create page: 0.918 seconds