×

INDI Library v1.9.9 Released (30 Nov 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

indi_celestron_cgx - direct usb connection to CGX/CGX-L

  • Posts: 215
  • Thank you received: 119
Hey Jim, I updated the build instructions in the readme. But the build directory should typically be a different directory than the source. In the instructions, I left out where to checkout the code to. Hope it is more clear now.
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 #63998

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

  • Posts: 62
  • Thank you received: 9
The new README.md directions worked, no issues. Thanks for your patience, been awhile since I have done command line or compiling.

I had some warnings on the make side and will wait for your reply prior to doing a make install.

Posted below after cmake:

/home/jim/Projects/indi-celestron-cgx/auxproto.cpp:305:11: warning: comparison of unsigned expression in ‘< 0’ is always false [-Wtype-limits]
305 | if (p < 0)
| ~~^~~
[ 50%] Building CXX object CMakeFiles/indi_celestron_cgx.dir/celestroncgx.cpp.o
/home/jim/Projects/indi-celestron-cgx/celestroncgx.cpp: In member function ‘bool CelestronCGX::handleCommand(AUXCommand)’:
/home/jim/Projects/indi-celestron-cgx/celestroncgx.cpp:383:12: warning: enumeration value ‘MC_SET_NEG_GUIDERATE’ not handled in switch [-Wswitch]
383 | switch (cmd.cmd)
| ^
/home/jim/Projects/indi-celestron-cgx/celestroncgx.cpp:383:12: warning: enumeration value ‘MC_AT_INDEX’ not handled in switch [-Wswitch]
/home/jim/Projects/indi-celestron-cgx/celestroncgx.cpp:383:12: warning: enumeration value ‘MC_SEEK_INDEX’ not handled in switch [-Wswitch]
/home/jim/Projects/indi-celestron-cgx/celestroncgx.cpp:383:12: warning: enumeration value ‘MC_ENABLE_CORDWRAP’ not handled in switch [-Wswitch]
/home/jim/Projects/indi-celestron-cgx/celestroncgx.cpp:383:12: warning: enumeration value ‘MC_DISABLE_CORDWRAP’ not handled in switch [-Wswitch]
/home/jim/Projects/indi-celestron-cgx/celestroncgx.cpp:383:12: warning: enumeration value ‘MC_SET_CORDWRAP_POS’ not handled in switch [-Wswitch]
/home/jim/Projects/indi-celestron-cgx/celestroncgx.cpp:383:12: warning: enumeration value ‘MC_POLL_CORDWRAP’ not handled in switch [-Wswitch]
/home/jim/Projects/indi-celestron-cgx/celestroncgx.cpp:383:12: warning: enumeration value ‘MC_GET_CORDWRAP_POS’ not handled in switch [-Wswitch]
/home/jim/Projects/indi-celestron-cgx/celestroncgx.cpp: In member function ‘virtual bool CelestronCGX::SetTrackMode(uint8_t)’:
/home/jim/Projects/indi-celestron-cgx/celestroncgx.cpp:689:41: warning: unused parameter ‘mode’ [-Wunused-parameter]
689 | bool CelestronCGX::SetTrackMode(uint8_t mode)
| ~~~~~~~~^~~~
/home/jim/Projects/indi-celestron-cgx/celestroncgx.cpp: In member function ‘virtual bool CelestronCGX::SetCurrentPark()’:
/home/jim/Projects/indi-celestron-cgx/celestroncgx.cpp:749:18: warning: comparison between ‘enum EQAlignment::TelescopePierSide’ and ‘enum INDI::Telescope::TelescopePierSide’ [-Wenum-compare]
749 | if (pierSide == PIER_WEST)
| ~~~~~~~~~^~~~~~~~~~~~
/home/jim/Projects/indi-celestron-cgx/celestroncgx.cpp:749:18: warning: comparison between types ‘EQAlignment::TelescopePierSide’ and ‘INDI::Telescope::TelescopePierSide’ [-Wsign-compare]
[ 75%] Building CXX object CMakeFiles/indi_celestron_cgx.dir/simplealignment.cpp.o
[100%] Linking CXX executable indi_celestron_cgx
make[2]: Leaving directory '/home/jim/Projects/build/indi-celestron-cgx'
[100%] Built target indi_celestron_cgx
make[1]: Leaving directory '/home/jim/Projects/build/indi-celestron-cgx'
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 #64001

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

  • Posts: 215
  • Thank you received: 119
Those warnings are fine. I still need to do some code cleanup. I tested this last night with an imaging session, and had a lot of success. The only thing that failed was the automated meridian flip, and I think I can fix that pretty easily. I was surprised at the goto accuracy I got. Once I was polar aligned, I was seeing about 3 arcminute accuracy in gotos, and sync and slew managed to get it the rest of the way. That was going from Saturn across the sky to the Heart Nebula.
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 #64002

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

  • Posts: 62
  • Thank you received: 9


Outstanding ! Thank you Sir for being patient. At moment we have cloudy weather here but hope to test soon.

Jim

BTW it compiled fine on 20.10 Groovy Gorilla, I did not do anything with line 11. os: ["20.04", "18.04", "16.04"]
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 #64003

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

  • Posts: 215
  • Thank you received: 119
Yeah, that line is just for automated builds using github actions. They aren't quite working well yet, but once they are, I'll set it up to generate releases in github, so it'll be easy to track new versions.
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 #64005

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

  • Posts: 215
  • Thank you received: 119
When you use it, be sure to click the "Align" button in the INDI Control Panel once you are connected. That will send the mount to the "switch" position and get all the calculations ready for gotos.
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 #64006

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

  • Posts: 62
  • Thank you received: 9

Rick,

That should be easy to remember as the HC requests go to 'switch' as its first command on power up. I will make a sticky note and place it on my laptop now :)

My normal setup procedure (I travel to dark sites, no observatory) is power on the HC/Mount then set the 'switch', power down. After that Polar Align using the PoleMaster. Then I power the mount back up, set 'switch' on the HC, followed by the alignment using the HC. Without the HC I should place the 'Align' button on the INDI Control Panel before and after polar alignment routine? Or will this create issues with the connection via software?

Thanks

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 #64008

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

  • 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.

Time to create page: 0.945 seconds