×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Adding EQMOD custom gear menu

  • Posts: 145
  • Thank you received: 8
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 ?

Here is my work with Custom Gear so far:

www.astrofriend.eu/astronomy/projects/pr...ect-indi-driver.html

Lars
Last edit: 1 month 1 week ago by Lars.
1 month 1 week ago #99733
Attachments:

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

  • Posts: 474
  • Thank you received: 168
The INDI control panel UI is automatically generated from the properties INDI drivers expose, there is no manual source for them in KStars.
1 month 1 week ago #99735

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

  • Posts: 145
  • Thank you received: 8

Replied by Lars on topic Adding EQMOD custom gear menu

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 ?

if (xxxxxx)
{
all other mount versions
}

}

Lars
Last edit: 1 month 1 week ago by Lars.
1 month 1 week ago #99769

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

  • Posts: 145
  • Thank you received: 8

Replied by Lars on topic Adding EQMOD custom gear menu

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.

Lars
1 month 1 week ago #99777

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

Time to create page: 0.339 seconds