The last version I have online on github.com/azwing/indi is working fine.
I tested many cases in Ekos and using scheduler.
Most probably it will be the base for the next pull request if James agrees.
So it would really be nice if you could make a trial.
It still doesn't work for me
When I press "Park", Kstars instantly considers the telescope to be parked as it moves to the park.
It then attempts to close the dome. But it only closes if the mount is parked.
Kstars then leaves in error because it cannot park the dome (the mount is not already parked).
I noticed that but was not aware it interferes with observatory parking simply because I did not put this in the sequence.
Anyhow I am sure it is not related to the Driver but to the Sequencer.
I will setup a sequence with observatory and see what it does.
But debugging Kstars / Ekos is another thing ... but I will try
Yes, I think the problem is with Kstars.
It works fine with CCDciel.
I wonder if Kstars does not confuse "Parking" and "Parked"
In an old version of Indi there was the possibility to choose: "Dome park mount" but that no longer exists.
In manual mode, my shelter parks the mount if it is not parked. I will try to implement it for automatic mode (with Indi).
So I will no longer park the mount with Kstars, it is the shelter that will take care of it.
Otherwise, CCDciel works very well
And thank you again for all this work.
I just saw on version 1.8.9:
When I press the "Park" button, the "Unpark" button is activated for a fraction of a second, then becomes gray again until the end of the parking lot.
On version 1.9.1, the "Unpark" button becomes active from the start of the park.
there are many others discrepancies for what concerns Telescope Status between Indi- Driver, Kstars, Indi_kstars and Ekos.
Ekos Mont Control Buttons and Indi Control Panel Buttons for example do not show the same state ...
I hope we will find out what is goin on ...
I just made a brief test with telescope simulator and it seems to work (PARKING when parking is in progress) ....
I believe I found the issue.
Finally it is in the driver where TrackState should be changed right after starting the Park .
According to me this is a strange behavior, because changing the Scope Status before having the feedback from the firmware is a bad thing.
So I am still not happy with that.
it seems working according to the last tests I did (see logs)
Done with CCD simulator, CCD Guide Simulator, Dome Simulator and OnStep.
The Dome parking waits on OnStep in park position and Ekos shuts down only when Dome is really parked.
I will push the changes to my git and continue more complex testing
2021-07-16T11:54:47 Shutdown complete.
2021-07-16T11:54:47 Ekos stopped.
2021-07-16T11:54:46 INDI devices disconnected.
2021-07-16T11:54:43 Dome parked.
2021-07-16T11:54:26 Parking dome...
2021-07-16T11:54:25 Mount parked.
2021-07-16T11:53:39 Parking mount in progress...
2021-07-16T11:53:38 No jobs left in the scheduler queue.
2021-07-16T11:53:37 Job 'Thuban' is complete.
2021-07-16T11:53:16 Job 'Thuban' capture is in progress...
2021-07-16T11:53:16 Job 'Thuban' slew is complete.
2021-07-16T11:52:24 Job 'Thuban' is slewing to target.
2021-07-16T11:52:21 Mount unparked.
2021-07-16T11:52:19 Dome unparked.
2021-07-16T11:52:13 Unparking dome...
2021-07-16T11:52:12 INDI devices connected.
2021-07-16T11:52:12 Ekos started.
2021-07-16T11:52:07 Scheduler started.
Tested in real conditions with Kstars and CCDciel ...
- Your indi_lx200_OnStep
- Modified RolloffIno
- Snapcap for the flat panel
- ZWO drivers for the two CCD and the filter wheel
- WeatherRadio for weather conditions
It works \ o / Thanks
Kstars automatic sequence:
- Unpark dome
- Open cap
- Unpark mount
- Goto star
- 3 pictures Red
- 3 pictures Green
- 3 pictures Blue
- 3 flats (Luminance filter):
Parameters for flats in Kstars:(Dust cover with external flat light, Park mount, Park dome)
* Park dome
* Park mount
* Switch on the flat panel
* 3 shots.
* Switch off the flat panel
- 1 dummy flat to change the filter (Dark filter) (You cannot choose a filter for darks in Kstars).
- 3 bias
- 3 darks
- Warm CCD, close cap, (mount and shelter already parked by the flat sequence).
End of sequence without error.