Bug 412280 - Comparing X2 dome driver (TheSkyX) and indi dome driver (KStars)
Summary: Comparing X2 dome driver (TheSkyX) and indi dome driver (KStars)
Status: RESOLVED NOT A BUG
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: 3.3.6
Platform: Other macOS
: NOR normal
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-24 13:55 UTC by Jean-Claude
Modified: 2019-10-23 15:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Claude 2019-09-24 13:55:58 UTC
SUMMARY
I spent quite a time trying to understand and solve the dome / telescope synchronisation with KStars, while I found no problem with TheSkyX.
In both cases I used the same dome parameters :
	- Home + Park azimuth = 			73.00°
	- Ticks per turn = 				714
	- Autosync threshold (deg.) 		0.50°
	- Radius (m)					1.150 m
	- Shutter width (m)				0.600 m
	- N displacement (m)				0.060 m
	- E displacement (m)				0.020 m
	- Up displacement (m)			-0.217 m	
	- OTA offset (m)				0.405 m

However while I met a perfect and reproducible match between the dome aperture and the scope azimuth with TheSkyX, this was not the case with KStars.
To be more precise, the match was good in the North, East and West. In the South the match was never satisfactory : the scope pointed to near one edge of the dome aperture.
I think that the culprit is a missing "debounce time" parameter in KStars.
Having the possibility to adjust a debounce time is important especially when the number of ticks corresponding to a complete dome rotation is important (in my case 714 ticks for a 360° dome rotation).
In TheSkyX the Rotation sensor debounce time can be adjusted between 20ms and 240ms :
I choose 40ms for my setup.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT
The match in the South is rarely satisfactory.

EXPECTED RESULT
Could we introduce such a debounce time in KStars


SOFTWARE/OS VERSIONS
Windows: 
macOS: 10.14
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Jasem Mutlaq 2019-09-25 09:05:57 UTC
Thanks for the report.

So this is an INDI driver issue rather than KStars, so it would be better to open a topic on this in INDI forum to discuss it with other developers. What's the denounce time exactly? This might be specific to your dome driver.
Comment 2 Jasem Mutlaq 2019-10-23 05:01:27 UTC
What INDI driver are you using?
Comment 3 Jean-Claude 2019-10-23 11:35:30 UTC
(In reply to Jasem Mutlaq from comment #2)
> What INDI driver are you using?
I am using version 1.3
But I must say that since two weeks the dome is synced perfectly to the scope with KStars as with TheSkyX.
I do not know what to think and I am a bit ashamed to have posted my comments.
I found that the sync is very sensitive to the N and E displacements (to a few centimetres).
Comment 4 Jasem Mutlaq 2019-10-23 15:41:12 UTC
Thank you for the feedback! It's great also to know if something works, so it's useful information after all!