Bug 391344

Summary: EKOS - Guiding tab lists imaging camera as guiding camera when using remote PHD2 for guiding.
Product: [Applications] kstars Reporter: john.hoogerdijk
Component: generalAssignee: Jasem Mutlaq <mutlaqja>
Status: RESOLVED FIXED    
Severity: normal CC: eric.dejouhanet
Priority: NOR    
Version: 2.9.8   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Guiding pane in EKOS
Profile edit window in EKOS

Description john.hoogerdijk 2018-03-03 17:15:46 UTC
Under the EKOS guiding tab, the guide camera is shown as the primary imaging camera when guiding is provided by an external instance of PHD2.
Comment 1 Jasem Mutlaq 2018-03-22 13:27:00 UTC
Does this affect any functions? screenshot?
Comment 2 john.hoogerdijk 2018-03-23 01:50:01 UTC
Created attachment 111568 [details]
Guiding pane in EKOS
Comment 3 john.hoogerdijk 2018-03-23 01:50:52 UTC
Created attachment 111569 [details]
Profile edit window in EKOS
Comment 4 john.hoogerdijk 2018-03-23 01:54:25 UTC
Functionality does not appear to be impacted (PHD2 runs fine and works with the PHD simulator camera).  I've attached screenshots.
Comment 5 TallFurryMan 2018-08-22 11:39:11 UTC
I'll bump this issue and confirm it, now that there is a pop-up warning the user that the guide and imaging camera are the same. When there is only one camera in the setup, the pop-up appears and breaks the automation.

Workaround is to include the guide cam in the profile, even if not used.

Multiple solutions:
- we prevent the display of the pop-up when PHD2 guiding is enabled
- we make the warning bypassable, like twilight check in the scheduler
- we allow the use of a fake device, "no camera", in the drop down list

First solution doesn't cover all cases, linguider probably needs that.
Second solution seems safe, except it will bite the user at some point when the same camera is used with the internal guider.
Third solution is probably less straightforward.
Comment 6 TallFurryMan 2018-08-22 11:41:07 UTC
User alacant reports that including the guide cam in the profile doesn't work.
Comment 7 Jasem Mutlaq 2018-08-22 17:55:50 UTC
Maybe we can only display the popup when using internal guider then?
Comment 8 TallFurryMan 2018-08-22 18:39:33 UTC
Seems the best option for short term yes.