Quantcast
Channel: Recent Topics - INDI Forum
Viewing all articles
Browse latest Browse all 14088

[SOLVED] Celestron slew rate with Joystick - by: Gorgias

$
0
0
Hello,

I am controlling my Celestron Nextar 8SE mount with a joystick. I know that in the Telescope simulator for example, it is possible to set the slew rate, to park/unpark the mount or abort the motion with buttons or axes of the joystick. However, I don't see those capabilities in the indi_celestron_gps driver, I can only set the "N/S/W/E Control".

In the file inditelescope.cpp, at the line 124, I see that:


And in the line 227 of the file celestrongps.cpp, the parameter nSlewRate is initialized to 9 through the method SetTelescopeCapability:


So the nSlewRate is higher than 4, so it should be possible to assign the joystick buttons/axes to the slew rate control?

If I want to add this capability, do I have to edit the C++ files, or is it possible to do it only with XML files? I have looked at the default XML config file of the celestron driver, and the part concerning the joystick control is the following:


So I have tried to add the button controls:


I do not get any error when loading the new XML config file, but the new options do not show up in the Celestron tab.

Viewing all articles
Browse latest Browse all 14088

Trending Articles