Hi,


I have ran into an issue since a week or so. I am not sure if it is consecutive to the update 1.6 of indi_lx200gemini but I suspect it.


I can reproduce it with the following steps:
- I create a new schedule which only contains one flat job.
- The flat job has Park Mount checked in Calibration options in the CCD tab.
- Unpark the mount and ensure tracking is on.
- Start the scheduler


What happens is:
- The mount slews to its parking position.
- In the Setup tab Capture status is "In progress" and Mount status is "Parking"
- Once the mount reaches parking position Mount status goes to "Tracking"
- The flat job never starts as it believes mount is not parked.
- Using the hand controller I checked and the mount is actually parked.
- If I click on Park in the mount tab, the job starts immediately.


Going further into logs I noticed:
2020-09-16T05:46:40.730 DEBG org.kde.kstars.indi Losmandy Gemini : "[DEBUG] CMD: <:Gv#> "
2020-09-16T05:46:40.730 DEBG org.kde.kstars.indi Losmandy Gemini : "[DEBUG] RES: <N> "
2020-09-16T05:46:40.731 DEBG org.kde.kstars.indi Losmandy Gemini : "[DEBUG] CMD: <:Gv#> "
2020-09-16T05:46:40.733 DEBG org.kde.kstars.indi Losmandy Gemini : "[DEBUG] RES: <N> "
2020-09-16T05:46:40.734 INFO org.kde.kstars.indi Losmandy Gemini : "[INFO] Slew is complete. Tracking... "

Which shows me the mount reports "NO_MOVEMENT", twice.

Looking into lx200gemini.cpp source.
"Slew is complete. Tracking..." makes me believe either the condition TrackState == SCOPE_SLEWING is not sufficient and should be complemented with a check on ParkingState, or that it just has a wrong value for some reason I haven't figured out yet.


Sorry I am running on RPi and didn't have the time to compile/debug and create a PR.


Has anyone else been having this issue, or am I missing something?


Many thanks,

Cheers,

Carl

Read More...