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.
Given your changes, I'd like you to look at the own-goto branch as it now has the changes so there should be NO status set from base classes. So it should be only update by our update, and should be consistently reported, and avoid the TrackState IDLE after a park.
I apologize for being quiet, and stepping on your toes about it, but I think it's actually a better solution. Unfortunately a lot of that delay was me upgrading and various changes. (Mostly related to me compiling things outside the package manager, and forgetting, plus resolving what turned out to be insofar as I can tell, a bit error on my SSD. (I don't think I've knowingly encountered that ever on a HDD, but might have if it's in data that's not processed by computer.)
The one change that I don't have in that branch is the Focuser hiding, but that seems to be pretty simple to add back in.
Unfortunately, KStars/Ekos does not pull directly from TrackState, so that didn't resolve the mount model issue. However, digging into it, it relies on EqNP's status as part of the Update using the TrackState. I've added updating that to the section after TrackState, so that should always be good as well. So finally solved? (Maybe.)
So far in my testing, That has eliminated all IDLE states when it's not actually idle except the very initial connect, and so far all instances of the Mount Model taking an instant photo. (Using an OnStep board, and CCD simulator, so that's limited testing and of course things are supposed to be not conducive to testing in the real world for a bit. ) So I think all of that is fixed, but not 100%. I do know in one case with TrackStateSP, there's something lower down that wants to modify it if slewing, so I had that only update if SCOPE_TRACKING to be on.
Anyway, Sorry for going quiet, now trying to catch up on some more things. (So I may be quiet again for a few days.)
we have an Old Story from Mr "Jean de La Fontaine" called the Haze and the Turtle.
So going slow and safe is also my view, otherwise I would have pushed to Indi Directly.
We can wait for pushing to Master for two reasons:
- Lamba use most probably do notice nothing because they do not use advanced features
- Advanced users can test your or my branch and test it if they want.