I am new to Indi.
I have a home made DSC connected to a Raspberry Pi, which can emit RA and Dec when asked.
I have hooked it up to Sky Safari using a Python script which responds to the command "Q" on a TCP port.
What is is the easiest way for me to connect it to Kstars? Can I connect using the indi_dsc_telescope driver?
What is the protocol used by indi_dsc_telescope? Is there any other easier way? I would prefer a python solution,
listening on a TCP port, which would be easy for me, just add more commands to my script.
I may be way off, but taking a look at www.indilib.org/api/classDSC.html and closer at www.indilib.org/api/dsc_8cpp_source.html#l00289 , the indi_dsc_telescope driver seems to be expecting an ascii string (at least 12 characters, up to 6 for each axis with formatting?). The DSC looks like that it can either be connected as a tty device such as /dev/ttyUSB0 or over Ethernet to a server.
Also, a 'Q' is sent by the diver and it looks for a response from the DSC.
There is a simulation mode that can be set on the INDI control panel, which may help with getting familiar with how the driver will act with different values for inputs.
Thanks for the pointers.
I think I have it working. The format from the dsc.cpp file is
sDDDD<space>sDDDD<cr> where s is sign +/- and D is a digit. First DDDD for RA, second for Dec
I used sync on Kstars to align the values.
However, I cannot get Kstars to follow the DSC crosshairs. When I change the coordinates, the crosshair moves, but the kstars screen does not follow the crosshair. Is that a setting somewhere in Kstars? On Sky Safari it is called Lock/Unlock
On the right click context menu, there is a DSC submenu with a center crosshair which centers the view to the DSC crosshair for a few seconds but then the view reverts.
Last edit: 5 years 9 months ago by A Nomer. Reason: typo