I'm adding custom gear setup for the EQMOD (SkyWatcher). I have got it to work but only with my own unique gear ratio, it's hard coded in the driver. I need a menu to setup the gear ratios so all of you can use this custom gear ratio.
This is where I want to place the menu.
"INDI Control Panel, EQMOD>Mount>Firmware:
The first problem for me to solve, where do I find the source code for the menu above ? I think it must be one of the KStars files, but which ?
Sounds a bit too complicated for me. Is there anyone that can add this menu and custom gear function ? If, then all can have use of it what ever gear ratio there is in the mount. That's how it's in the ASCOM version of EQMOD.
I only managed to make the brutal version and direct in the code add my special gear ratio. But then of no use for any other.
I only have this to work for the Astroberry with 32-bit OS. I'm now looking how to get this to work on the new Pi5 64-bits version. Some changes in EQMOD I can see. Now it use the same gear ratio for both RA and DEC, make it easier.
Maybe something like this:
skywatcher.cpp file, about line 770 to 800
if (CustomGearRatio == 0/1) // Only if custom gear ratio is enabled from menu
{
*Steps360 = CustomGearRatio360 (from menu); // for Belt Drive Custom gear ratio
*StepsWorm = CustomGearWorm (from menu); // for Belt Drive Custom gear include RA drift compensation in older versions
*HighspeedRatio = CustomGearHighspeedRatio (from menu); // allways = 16 ?
I got help from my Linuxfriend, he already got the menu to show up. Now it's only the rest to do. But I feel I can get this to work with help from my friend.