×

INDI Library v2.0.0 Released (01 Feb 2023)

Bi-monthly release with major changes to INDI properties and client API in addition to new drivers and improvements.

indi_celestron_cgx - direct usb connection to CGX/CGX-L

  • Posts: 215
  • Thank you received: 119
For now I would do it before the polar alignment, then again after. It just resets the simple alignment module I wrote back to a known position. I haven't used the polemaster before.

I would imagine in your case the workflow would look like this:

Connect to the mount using INDI, click the Align button.
Disconnect the mount from INDI, power down the mount.
Go through the polar align with polemaster.
Power it back on, connect using INDI, click the Align button again.
Do your normal imaging session. :)

On a side note, I would recommend trying out the polar align process in Ekos. It worked really well last night for me using this driver. That workflow would look like this:

Connect to the mount using INDI, click the Align button.
Using the Alignment tab in Ekos, do a polar alignment.
Click the Align button again.
Do your normal imaging session. :)
Gayle H Riggsbee Observatory - Charlotte Amateur Astronomers Club
CEM120 - TMB 100/800 - AT72EDII w/Homemade Moonlite Compatible Arduino Focuser - AT8RC w/Moonlite CSL 2.5" w/Moonlite Stepper v3
ZWO ASI2600MC-Pro - ZWO ASI2600MM-Pro - ZWO ASI174MM-Mini - ZWO OAG - ZWO EFW
AT2FF - CCDT67 - RIRED-M63
The following user(s) said Thank You: Jim S.
2 years 1 month ago #64009

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

  • Posts: 62
  • Thank you received: 9

I will try it using both. I am kinda partial to the PoleMaster as it cost me a pretty penny and I got the unit as I am not a big fan of the Celestron all star alignment routine or the polar scope as a 'side' mounted scope on the CGX.

Jim
Celestron CGX, QSI683 Astrodon Gen 2 E series LRGB, Ha, OIII, ES102CF, ZWO-ASI178MC, 60mm guide scope, Pegasus Focus Cube 2, Feather Touch Focuser.
2 years 1 month ago #64010

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

  • Posts: 215
  • Thank you received: 119
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.

Gayle H Riggsbee Observatory - Charlotte Amateur Astronomers Club
CEM120 - TMB 100/800 - AT72EDII w/Homemade Moonlite Compatible Arduino Focuser - AT8RC w/Moonlite CSL 2.5" w/Moonlite Stepper v3
ZWO ASI2600MC-Pro - ZWO ASI2600MM-Pro - ZWO ASI174MM-Mini - ZWO OAG - ZWO EFW
AT2FF - CCDT67 - RIRED-M63
The following user(s) said Thank You: Jerry Black, Jim S.
2 years 1 month ago #64011
Attachments:

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

  • Posts: 215
  • Thank you received: 119
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.
Gayle H Riggsbee Observatory - Charlotte Amateur Astronomers Club
CEM120 - TMB 100/800 - AT72EDII w/Homemade Moonlite Compatible Arduino Focuser - AT8RC w/Moonlite CSL 2.5" w/Moonlite Stepper v3
ZWO ASI2600MC-Pro - ZWO ASI2600MM-Pro - ZWO ASI174MM-Mini - ZWO OAG - ZWO EFW
AT2FF - CCDT67 - RIRED-M63
2 years 1 month 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?
1 year 11 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: 1 year 11 months ago by Hansli Meier.
1 year 11 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
1 year 8 months ago #71592

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

  • Posts: 215
  • Thank you received: 119
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.
Gayle H Riggsbee Observatory - Charlotte Amateur Astronomers Club
CEM120 - TMB 100/800 - AT72EDII w/Homemade Moonlite Compatible Arduino Focuser - AT8RC w/Moonlite CSL 2.5" w/Moonlite Stepper v3
ZWO ASI2600MC-Pro - ZWO ASI2600MM-Pro - ZWO ASI174MM-Mini - ZWO OAG - ZWO EFW
AT2FF - CCDT67 - RIRED-M63
1 year 8 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).
1 year 8 months ago #71607

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

  • Posts: 215
  • Thank you received: 119
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.
Gayle H Riggsbee Observatory - Charlotte Amateur Astronomers Club
CEM120 - TMB 100/800 - AT72EDII w/Homemade Moonlite Compatible Arduino Focuser - AT8RC w/Moonlite CSL 2.5" w/Moonlite Stepper v3
ZWO ASI2600MC-Pro - ZWO ASI2600MM-Pro - ZWO ASI174MM-Mini - ZWO OAG - ZWO EFW
AT2FF - CCDT67 - RIRED-M63
1 year 8 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?
1 year 8 months ago #71609

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

  • Posts: 215
  • Thank you received: 119
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.
Gayle H Riggsbee Observatory - Charlotte Amateur Astronomers Club
CEM120 - TMB 100/800 - AT72EDII w/Homemade Moonlite Compatible Arduino Focuser - AT8RC w/Moonlite CSL 2.5" w/Moonlite Stepper v3
ZWO ASI2600MC-Pro - ZWO ASI2600MM-Pro - ZWO ASI174MM-Mini - ZWO OAG - ZWO EFW
AT2FF - CCDT67 - RIRED-M63
1 year 8 months ago #71610

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

Time to create page: 1.084 seconds