Bug 398503

Summary: Ekos: Mount control doesn't see the mount move
Product: [Applications] kstars Reporter: Cedric Raguenaud <cedric>
Component: generalAssignee: Jasem Mutlaq <mutlaqja>
Status: RESOLVED FIXED    
Severity: normal CC: eric.dejouhanet
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 3.5.0
Sentry Crash Report:
Attachments: EQMod log
Ekos log
wINDI log

Description Cedric Raguenaud 2018-09-11 15:23:19 UTC
This was tested with Ekos Windows and Linux connected to a wINDI server connected to an EQMod-managed mount.

Ekos versions tested were Bleeding and Nightly #171 and later.

When slewing in a scheduled plan, the slewing is extremely slow. Looking at the Ascom commands, it appears that Ekos doesn't wait for the goto to finish. It sends the same slew order over and over again every second or so. As a result, the mount slew is interrupted every second and starts again. The one slew I tried took several minutes. 

A slew from kstars works as expected though.
Comment 1 TallFurryMan 2018-09-14 06:26:32 UTC
This might be a good candidate for a bug investigation in wIndi too.
Comment 2 Cedric Raguenaud 2018-09-14 10:43:56 UTC
What's interesting is that kstars moves the mount as expected. It doesn't seem to fail to see it move, whereas Ekos doesn't see mount movement.
Comment 3 TallFurryMan 2018-09-14 13:37:29 UTC
Do you have logs for this?
Comment 4 Cedric Raguenaud 2018-09-14 13:52:42 UTC
Not anymore, but I'll try again tonight and keep the logs.
Comment 5 Cedric Raguenaud 2018-09-14 19:16:17 UTC
Created attachment 114961 [details]
EQMod log
Comment 6 Cedric Raguenaud 2018-09-14 19:16:49 UTC
Created attachment 114962 [details]
Ekos log
Comment 7 Cedric Raguenaud 2018-09-14 19:17:14 UTC
Created attachment 114963 [details]
wINDI log
Comment 8 TallFurryMan 2018-09-14 20:17:05 UTC
That's what I thought: Scheduler is not seeing the mount slew, and request the slew operation again: "Warning: job 'Deneb' found not slewing, restarting.".

You don't get the same behavior with kstars because it is not checking whether the request is actually operated.

Now we must find why the status returned by the mount interface is not the right state. This is probably in the wINDI interface, or the mount interface talking with wINDI.
Comment 9 Cedric Raguenaud 2018-09-14 20:55:35 UTC
Is there anything I can do?
Comment 10 Jasem Mutlaq 2020-11-15 12:27:27 UTC
This should be fixed in 3.5.0