It is just for Kstars/Ekos use. Celestron AUX driver controls scope motors directly, bypassing/ignoring mount HC. All the alignment subsystem software lives exclusively in the celestron AUX driver, without any interaction with mount HC.
"All required sync points" means the number you wish, typically at least 2, in theory the more the better, also better if not too far from the sky region where you are observing. Kstars has a nice tool, the "Mount Model" for generating automatically sync points.
Thanks fabrizio. I'll take a look. For the CGX (and I imagine the CGX-L) we have a USB port of the mount itself that uses the same protocol as the RTS/CTS, just without the actual RTS/CTS. It would be awesome to be able to use that. Also, these mounts will go to HA=6, DEC=90 when then MC_LEVEL_START command is sent to both axes. This would make the first sync point very easy to add for these mounts.
At present, the automatic serial interface detection of the driver (method Handshake) is based on RTSCTS presence:
1. RTSCTS is working -> connected to PC (RJ45) or AUX (RJ12) 19200 baud, AUX protocol.
2. RTSCTS not working -> connected to HC USB/RJ11 9600 baud, encapsulated AUX protocol.
This comes from my setup with a celestron CPC1100 with wired connection, the only I can test.
You have another configuration with an USB serial without RTSCTS using AUX protocol and NOT the encapsulated AUX protocol.
The question is " how to discriminate programmatically an USB serial connected directly to the mount and an USB serial connected to the HC?".
Any suggestion is welcome.
OK, so I'm a noob on doing this... But I think I've made progress. Here is what I've done.
Raspbain Buster img applied.
Installed Indi library, 3rd party drivers, and Ekos from www.indilib.org/download/raspberry-pi.html
Take Steps 3 from indilib.org/forum/general/210-howto-buil...st-libindi-ekos.html
I placed the 2 new files in /indi-3party/indi-celestronaux and replaced/overwrote the original
I ran cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Debug ~/Projects/indi-3rdparty/indi-celestronaux
But I needed to change the directory to ~/Projects/build/indi-caux/indi-3rdparty/indi-celestronaux
ran make, and get the output below.
pi@raspberrypi:~/Projects/build/indi-caux $ make
Scanning dependencies of target indi_celestron_aux
[ 33%] Building CXX object CMakeFiles/indi_celestron_aux.dir/auxproto.cpp.o
[ 66%] Building CXX object CMakeFiles/indi_celestron_aux.dir/celestronaux.cpp.o
/home/pi/Projects/build/indi-caux/indi-3rdparty/indi-celestronaux/celestronaux.cpp: In member function ‘virtual bool CelestronAUX::initProperties()’:
/home/pi/Projects/build/indi-caux/indi-3rdparty/indi-celestronaux/celestronaux.cpp:631:9: error: ‘setActiveConnection’ was not declared in this scope
/home/pi/Projects/build/indi-caux/indi-3rdparty/indi-celestronaux/celestronaux.cpp:631:9: note: suggested alternative: ‘getActiveConnection’
make: *** [CMakeFiles/indi_celestron_aux.dir/build.make:76: CMakeFiles/indi_celestron_aux.dir/celestronaux.cpp.o] Error 1
make: *** [CMakeFiles/Makefile2:73: CMakeFiles/indi_celestron_aux.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
I've been able to do some testing on my AVX. I added the driver to a SM 1.5.5 image.
I followed your commands and didn't have any errors.
I was not sure that the driver was updated correctly at first and I don't have an EQ option under Mount info, but the driver is at version 0.7 which I think is current?
My profile is just my AVX and Simulators as I'm testing during the day.
My mount is connected to the handset via USB. But all I did was turn the mount on and plug the USB cable in, no date/alignment
Initial connection worked but I did see some network errors. Possibly the new driver defaults to Network and nor Serial/USB?
Mount control manual slew works.
First plate solve, everything default failed. Second PS was successful after turning off size and position (blind) solved and action was sync
Moved to new coordinates and PS with both size and position enabled. PS was successful.
I noticed you recommended to remove all alignment points, So set points to zero.
Turned size and position back on, and had another failed PS
Turned size and position off and PS worked.
I noticed that when I PS at the same coordinates, That I got a sync error, because of duplicate set point - makes sense.
I slewed to other objects and PS with no problems.
Not sure what else to test? Please let me know if there is anything you need me to test. Trying under dark sky's without the simulators will be next, when weather permits.