I observed (not sure if I got it right) that the first outward movement seems to be equal to (out_step_multiple+5)*initial_step_size steps, then followed by a inward movement of 5*initial_step_size steps, so the complete outward+inward movement has a net outward shift of out_step_multiple*initial_step_size steps.

So I understand that this initial outward "overshoot" of 5*initial_step_size is a backlash compensation, is that so? In that case, the '5' value is configurable anywhere?Backlash is an issue but somewhat alleviated by my focuser internal backlash compensation. So if I do many changes in direction, the position error due to backlash may increase; but if there is no much back and forth, positioning seems to be quite acceptable. In my case the polynomial algorithm takes a few samples and then quickly finds a solution, but it's not very reliable, in part for the back and forth movements, but I think that mostly for the lack of proper sampling.

Linear does a very good sampling even in the first pass (also I can control the sampling with initial_step_size).Sorry for not being specific. By "compensation" I meant "backlash compensation" (like the first movement of the linear algorithm). So this final "jump" would be in the outward direction past the computed solution, then inward, to fall exactly on the computed solution.

"If curve fitting is good enough": I was guessing that the computed solution is derived from a quadratic regression over the samples. If that is the case, a goodness-of-fit metric, such as R-squared, may indicate our degree of confidence on the computed solution after the first pass. To be fair this involves an arbitrary threshold to specify what is "good enough" (R-squared should be greater than some arbitrary value). If the metric doesn't reach the threshold, maybe just flag the autofocus as failed (for the user to tune parameters in "interactive" sessions / rely on the scheduler error handling in automated sessions).In my case, focusing is about 4 minutes in average. I image from an urban location with narroband filters and a USB2.0 CCD. Each focus exposure has to be somewhat long, at least 3-4 seconds to get enough signal to work with, and download time (bin2x2) is around 8 seconds. Currently (v3.5.6 and 3.5.7), the linear algorithm takes about 20 iterations in average.And many thanks for that!
Sergio

Read More...

For me, the linear algorithm for autofocusing was a great addition in Ekos (thanks for that!), making it way more reliable with the focuser I have. In my case, the main problem with polynomial (or iterative) is that it tends to take few samples, so the computed solution can be quite biased. Also, though my focuser implements backlash compensation, the back and forth movements won't help either. The linear algorithm does a more comprehensive sampling (almost without going back and forth) so its computed solution after the first pass is quite spot on. 

The current implementation added a more persistant behaviour that in my case means that the complete routine takes a lot more (full field work best for me to better estimate the HFR in my noisy CCD, but downloads are slow, even with bin2x2). 

Would you (@ Hy Murveit) consider to add a "single pass" option to the linear algorithm? -- meaning "jump to the computed solution after first pass" (with compensation) if curve fitting is good enough. 

Another question, regarding the initial movement (outward+inward): it seems to implement a backlash compensation of 5*initial_step_size, is that so? Could this also be configurable?

Thanks in advance, 
Sergio

Read More...

Since I updated KStars to v3.5.7 I'm experiencing issues with the 'Focus' step in the scheduler.

Before the update:
- I manually select the L filter (slot 1) and then launch the scheduler.
- At the scheduled time, it wakes up, slews to the target
- starts autofocus (linear algorithm) with the L filter
- aligns the target using the L filter
- starts the capture (that involves a filter change, say Ha in slot 3, and autofocus), etc.

After the update (see log below):
- I manually select the L filter (slot 1) and then launch the scheduler, as before
- At the scheduled time, it wakes up, slews to the target
- starts (linear) autofocus with the Ha filter (the first needed for the capture, slot 3), samples one point and then it the autofocus process gets stuck; the last message is just "Focuser reached requested position"
- (I manually cancelled the scheduler when I was back about 35 min later)

I find somewhat odd that the filter change ("Setting current filter to slot 3 ") is actually done **after** the first autofocus movements of the linear algorithm (100 steps outward, 50 inward).

What I'm doing as workaround:
- Focus manually for the L filter (the one I use for align)
- Disable the Focus step of the job and launch the scheduler
- When alignment is complete, I manually cancel the scheduler
- Enable the focus step and disable the align step, and launch the scheduler again
- Autofocus is performed on the first filter for the capture, then the capture starts (with further autofocus/filter changes as defined in the sequence).

Interestingly enough, when doing this, the problem does not show.

Thanks in advance,
Sergio

[2022-02-02T19:49:26.442 CET INFO ][ org.kde.kstars.ekos.scheduler] - "Scheduler is awake."
[2022-02-02T19:49:26.444 CET INFO ][ org.kde.kstars.ekos.scheduler] - Scheduler is starting...
[2022-02-02T19:49:26.445 CET INFO ][ org.kde.kstars.ekos.scheduler] - "Scheduler started."
[2022-02-02T19:49:27.425 CET INFO ][ org.kde.kstars.ekos.scheduler] - Option to sort jobs based on priority and altitude is false
[2022-02-02T19:49:27.426 CET INFO ][ org.kde.kstars.ekos.scheduler] - "Job 'RosetaNeb' has a total score of -1000 at 02/02 19:49."
[2022-02-02T19:49:27.428 CET INFO ][ org.kde.kstars.ekos.scheduler] - "Job 'RosetaNeb' has a total score of -1000 at 02/02 19:49."
[2022-02-02T19:49:28.380 CET INFO ][ org.kde.kstars.ekos.scheduler] - "Sleeping until observation job RosetaNeb is ready at mié. feb. 2 20:13:48 2022..."
[2022-02-02T20:13:48.270 CET INFO ][ org.kde.kstars.ekos.scheduler] - "Scheduler is awake. Jobs shall be started when ready..."
[2022-02-02T20:13:51.273 CET INFO ][ org.kde.kstars.ekos.scheduler] - Unparking mount in progress...
[2022-02-02T20:13:51.280 CET INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Mount is unparked. "
[2022-02-02T20:13:52.273 CET INFO ][ org.kde.kstars.ekos.scheduler] - "Mount unparked."
[2022-02-02T20:13:54.308 CET INFO ][ org.kde.kstars.ekos.scheduler] - Executing Job  "RosetaNeb"
[2022-02-02T20:13:55.279 CET INFO ][     org.kde.kstars.ekos.align] - Target updated to JNow RA: "06h 33m 07s" DE: " 04° 55' 33\""
[2022-02-02T20:13:55.282 CET INFO ][ org.kde.kstars.ekos.scheduler] - "Job 'RosetaNeb' is slewing to target."
[2022-02-02T20:13:55.322 CET INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Starting Goto RA=6.55188 DE=4.92593 (current RA=9.69568 DE=90) "
[2022-02-02T20:13:55.322 CET INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Aligned Eqmod Goto RA=6.55188 DE=4.92593 (target RA=6.55188 DE=4.92593) "
[2022-02-02T20:13:55.323 CET INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Setting Eqmod Goto RA=6.55188 DE=4.92593 (target RA=6.55188 DE=4.92593) "
[2022-02-02T20:13:55.425 CET INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Slewing mount: RA increment = 1207282, DE increment = -2177896 "
[2022-02-02T20:13:55.713 CET INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Slewing to RA:  6:33:07 - DEC:  4:55:33 "
[2022-02-02T20:13:55.722 CET INFO ][     org.kde.kstars.ekos.guide] - "Mount is moving. Resetting calibration..."
[2022-02-02T20:13:55.724 CET INFO ][     org.kde.kstars.ekos.guide] - "Calibration is cleared."
[2022-02-02T20:14:18.009 CET INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Iterative Goto (1): RA diff = 22.65 arcsecs DE diff = 0.10 arcsecs "
[2022-02-02T20:14:18.010 CET INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Iterative goto (1): slew mount to RA increment = 2426, DE increment = 1 "
[2022-02-02T20:14:19.400 CET INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Iterative Goto (2): RA diff = 1.30 arcsecs DE diff = 2.15 arcsecs "
[2022-02-02T20:14:19.528 CET INFO ][           org.kde.kstars.indi] - EQMod Mount :  "[INFO] Telescope slew is complete. Tracking TRACK_SIDEREAL... "
[2022-02-02T20:14:19.538 CET INFO ][ org.kde.kstars.ekos.scheduler] - "Job 'RosetaNeb' slew is complete."
[2022-02-02T20:14:20.275 CET INFO ][ org.kde.kstars.ekos.scheduler] - "Job 'RosetaNeb' is focusing."
[2022-02-02T20:14:20.284 CET INFO ][     org.kde.kstars.ekos.focus] - "Autofocus in progress..."
[2022-02-02T20:14:20.286 CET INFO ][     org.kde.kstars.ekos.focus] - "Focusing outward by 100 steps..."
[2022-02-02T20:14:20.295 CET INFO ][           org.kde.kstars.indi] - MoonLite :  "[INFO] Focuser is moving to position 5502 "
[2022-02-02T20:14:21.445 CET INFO ][     org.kde.kstars.ekos.focus] - "Focusing inward by 50 steps..."
[2022-02-02T20:14:21.449 CET INFO ][           org.kde.kstars.indi] - MoonLite :  "[INFO] Focuser reached requested position. "
[2022-02-02T20:14:21.491 CET INFO ][           org.kde.kstars.indi] - MoonLite :  "[INFO] Focuser is moving to position 5452 "
[2022-02-02T20:14:22.308 CET INFO ][           org.kde.kstars.indi] - MoonLite :  "[INFO] Focuser reached requested position. "
[2022-02-02T20:14:22.350 CET INFO ][           org.kde.kstars.indi] - MI G2-8300 :  "[INFO] Setting current filter to slot 3 "
[2022-02-02T20:14:26.711 CET INFO ][     org.kde.kstars.ekos.focus] - "Capturing image..."
[2022-02-02T20:14:36.799 CET INFO ][     org.kde.kstars.ekos.focus] - "Image received."
[2022-02-02T20:14:36.801 CET INFO ][     org.kde.kstars.ekos.focus] - "Detecting sources..."
[2022-02-02T20:14:36.944 CET INFO ][     org.kde.kstars.ekos.focus] - "Detection complete."
[2022-02-02T20:14:36.970 CET INFO ][     org.kde.kstars.ekos.focus] - "Focusing inward by 10 steps..."
[2022-02-02T20:14:36.972 CET INFO ][           org.kde.kstars.indi] - MoonLite :  "[INFO] Focuser is moving to position 5442 "
[2022-02-02T20:14:37.649 CET INFO ][           org.kde.kstars.indi] - MoonLite :  "[INFO] Focuser reached requested position. "
[2022-02-02T20:50:07.221 CET INFO ][ org.kde.kstars.ekos.scheduler] - Scheduler is stopping...
[2022-02-02T20:50:07.223 CET INFO ][ org.kde.kstars.ekos.scheduler] - "Job 'RosetaNeb' is stopping guiding..."
[2022-02-02T20:50:07.223 CET INFO ][ org.kde.kstars.ekos.scheduler] - "Job 'RosetaNeb' has not been processed upon scheduler stop, marking aborted."
[2022-02-02T20:50:07.261 CET INFO ][     org.kde.kstars.ekos.focus] - "Autofocus aborted."
[2022-02-02T20:50:07.292 CET INFO ][           org.kde.kstars.indi] - MI G2-8300 :  "[INFO] Exposure aborted. "


Read More...

Sergio replied to the topic 'Manually Run Startup Script' in the forum. 4 months ago

This afternoon I tried the same (configure a startup script and try to run it manually) and received the same error. Thing is all INDI devices were connected, so I don't know what I'm doing wrong.

Could any dev have a look at it, please? Thanks!

Read More...

Hi Wolfgang, thanks for your reply. I didn't set a target (but I launched manually a plate solve while still in parked position). Yesterday I didn't monitor the MF status in Mount tab until things got weird, but tonight I've tried again and in the beginning of the PAA process MF status was indeed "Status inactive (no target set)", but after the first slew, it went through the MF pending-running-done/failed loop like yesterday.

The relevant part of the log of yesterday:

[2021-12-04T22:54:14.873 CET INFO ][ org.kde.kstars.ekos.align] - "Image received."
[2021-12-04T22:54:18.356 CET INFO ][ org.kde.kstars.ekos.align] - "Solver completed after 3.44 seconds."
[2021-12-04T22:54:18.359 CET INFO ][ org.kde.kstars.ekos.align] - "Effective telescope focal length is updated to 246,961 mm."
[2021-12-04T22:54:18.404 CET INFO ][ org.kde.kstars.ekos.align] - "WCS information updated. Images captured from this point forward shall have valid WCS."
[2021-12-04T22:54:18.407 CET INFO ][ org.kde.kstars.ekos.align] - "Solution coordinates: RA (08h 32m 12s) DEC ( 85° 57' 24\") Telescope Coordinates: RA (08h 26m 01s) DEC ( 90° 00' 00\")"
[2021-12-04T22:54:18.418 CET INFO ][ org.kde.kstars.indi] - ZWO CCD ASI120MM-S : "[INFO] CCD FOV rotation updated to -178.426 degrees. "
[2021-12-04T22:54:24.252 CET INFO ][ org.kde.kstars.ekos.align] - "Starting Polar Alignment Assistant process v2.3 ..."
[2021-12-04T22:54:24.252 CET INFO ][ org.kde.kstars.ekos.align] - "Clearing mount Alignment Model..."
[2021-12-04T22:54:24.270 CET INFO ][ org.kde.kstars.ekos.align] - "Capturing image..."
[2021-12-04T22:54:24.304 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Mount is unparked. "
[2021-12-04T22:54:24.305 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Start Tracking (Sidereal). "
[2021-12-04T22:54:25.788 CET INFO ][ org.kde.kstars.ekos.align] - "Image received."
[2021-12-04T22:54:28.163 CET INFO ][ org.kde.kstars.ekos.align] - "Solver completed after 2.33 seconds."
[2021-12-04T22:54:28.165 CET INFO ][ org.kde.kstars.ekos.align] - "Effective telescope focal length is updated to 246,949 mm."
[2021-12-04T22:54:28.199 CET INFO ][ org.kde.kstars.ekos.align] - "Solution coordinates: RA (08h 32m 22s) DEC ( 85° 57' 24\") Telescope Coordinates: RA (08h 26m 07s) DEC ( 90° 00' 00\")"
[2021-12-04T22:54:28.209 CET INFO ][ org.kde.kstars.ekos.align] - "Please wait while WCS data is processed..."
[2021-12-04T22:54:28.235 CET INFO ][ org.kde.kstars.indi] - ZWO CCD ASI120MM-S : "[INFO] CCD FOV rotation updated to -178.419 degrees. "
[2021-12-04T22:54:28.235 CET INFO ][ org.kde.kstars.ekos.align] - "WCS data processing is complete."
[2021-12-04T22:54:28.242 CET INFO ][ org.kde.kstars.ekos.align] - "Please wait until mount completes rotating to RA (06h 26m 07s) DE ( 90° 00' 00\")"
[2021-12-04T22:54:28.258 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Starting West slew. "
[2021-12-04T22:54:29.244 CET INFO ][ org.kde.kstars.ekos.guide] - "Mount is moving. Resetting calibration..."
[2021-12-04T22:54:29.246 CET INFO ][ org.kde.kstars.ekos.guide] - "Calibration is cleared."
[2021-12-04T22:54:35.856 CET INFO ][ org.kde.kstars.ekos.align] - "Mount first rotation is complete."
[2021-12-04T22:54:35.865 CET INFO ][ org.kde.kstars.ekos.align] - "Settling..."
[2021-12-04T22:54:35.902 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] West Slew stopped "
[2021-12-04T22:54:37.174 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Restarting RA Tracking... "
[2021-12-04T22:54:37.331 CET INFO ][ org.kde.kstars.ekos.align] - "Capturing image..."
[2021-12-04T22:54:38.442 CET INFO ][ org.kde.kstars.ekos.mount] - Meridian flip: slewing to RA= "06h 22m 05s" DEC= " 90° 00' 00\"" Hour Angle "23h 44m 17s"
[2021-12-04T22:54:38.442 CET INFO ][ org.kde.kstars.ekos.mount] - "Meridian flip started."
[2021-12-04T22:54:38.450 CET INFO ][ org.kde.kstars.ekos.align] - Target updated to JNow RA: "06h 22m 05s" DE: " 90° 00' 00\""
[2021-12-04T22:54:38.451 CET INFO ][ org.kde.kstars.ekos.mount] - "Meridian flip slew started..."
[2021-12-04T22:54:38.457 CET INFO ][ org.kde.kstars.ekos.guide] - "Mount is moving. Resetting calibration..."
[2021-12-04T22:54:38.459 CET INFO ][ org.kde.kstars.ekos.guide] - "Calibration is cleared."
[2021-12-04T22:54:38.496 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Starting Goto RA=6.36805 DE=90 (current RA=6.36805 DE=90) "
[2021-12-04T22:54:38.540 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Aligned Eqmod Goto RA=6.36805 DE=90 (target RA=6.36805 DE=90) "
[2021-12-04T22:54:38.540 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Setting Eqmod Goto RA=6.36805 DE=90 (target RA=6.36805 DE=90) "
[2021-12-04T22:54:38.597 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Slewing mount: RA increment = 17, DE increment = 0 "
[2021-12-04T22:54:38.741 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Slewing to RA: 6:22:05 - DEC: 90:00:00 "
[2021-12-04T22:54:39.540 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Iterative Goto (1): RA diff = 0.75 arcsecs DE diff = 0.00 arcsecs "
[2021-12-04T22:54:39.668 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Telescope slew is complete. Tracking TRACK_SIDEREAL... "
[2021-12-04T22:54:39.683 CET WARN ][ org.kde.kstars.ekos.mount] - Meridian flip failed, pier side not changed
[2021-12-04T22:54:39.683 CET INFO ][ org.kde.kstars.ekos.mount] - "meridian flip failed, retrying in 4 minutes"
[2021-12-04T22:54:39.684 CET INFO ][ org.kde.kstars.ekos.mount] - "Meridian flip completed."
[2021-12-04T22:54:39.689 CET INFO ][ org.kde.kstars.ekos.capture] - "Telescope completed the meridian flip."
[2021-12-04T22:54:41.879 CET INFO ][ org.kde.kstars.ekos.mount] - Meridian flip: slewing to RA= "06h 22m 06s" DEC= " 90° 00' 00\"" Hour Angle "23h 44m 17s"
[2021-12-04T22:54:41.880 CET INFO ][ org.kde.kstars.ekos.mount] - "Meridian flip started."
[2021-12-04T22:54:41.888 CET INFO ][ org.kde.kstars.ekos.align] - Target updated to JNow RA: "06h 22m 06s" DE: " 90° 00' 00\""
[2021-12-04T22:54:41.889 CET INFO ][ org.kde.kstars.ekos.mount] - "Meridian flip slew started..."
[2021-12-04T22:54:41.895 CET INFO ][ org.kde.kstars.ekos.guide] - "Mount is moving. Resetting calibration..."
[2021-12-04T22:54:41.896 CET INFO ][ org.kde.kstars.ekos.guide] - "Calibration is cleared."
[2021-12-04T22:54:41.898 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Starting Goto RA=6.36826 DE=90 (current RA=6.36831 DE=90) "
[2021-12-04T22:54:41.898 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Aligned Eqmod Goto RA=6.36826 DE=90 (target RA=6.36826 DE=90) "
[2021-12-04T22:54:41.898 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Setting Eqmod Goto RA=6.36826 DE=90 (target RA=6.36826 DE=90) "
[2021-12-04T22:54:41.985 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Slewing mount: RA increment = 32, DE increment = 0 "
[2021-12-04T22:54:42.130 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Slewing to RA: 6:22:06 - DEC: 90:00:00 "
[2021-12-04T22:54:42.976 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Iterative Goto (1): RA diff = 0.83 arcsecs DE diff = 0.00 arcsecs "
[2021-12-04T22:54:43.103 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Telescope slew is complete. Tracking TRACK_SIDEREAL... "
[2021-12-04T22:54:43.112 CET WARN ][ org.kde.kstars.ekos.mount] - Meridian flip failed, pier side not changed
[2021-12-04T22:54:43.112 CET INFO ][ org.kde.kstars.ekos.mount] - "meridian flip failed, retrying in 4 minutes"
[2021-12-04T22:54:43.113 CET INFO ][ org.kde.kstars.ekos.mount] - "Meridian flip completed."
[2021-12-04T22:54:43.118 CET INFO ][ org.kde.kstars.ekos.capture] - "Telescope completed the meridian flip."
[2021-12-04T22:54:45.317 CET INFO ][ org.kde.kstars.ekos.mount] - Meridian flip: slewing to RA= "06h 22m 07s" DEC= " 90° 00' 00\"" Hour Angle "23h 44m 18s"
[2021-12-04T22:54:45.317 CET INFO ][ org.kde.kstars.ekos.mount] - "Meridian flip started."
[2021-12-04T22:54:45.325 CET INFO ][ org.kde.kstars.ekos.align] - Target updated to JNow RA: "06h 22m 07s" DE: " 90° 00' 00\""
[2021-12-04T22:54:45.326 CET INFO ][ org.kde.kstars.ekos.mount] - "Meridian flip slew started..."


After disabling "Flip if HA>": 
[2021-12-04T23:36:17.218 CET INFO ][ org.kde.kstars.ekos.align] - "Starting Polar Alignment Assistant process v2.3 ..."
[2021-12-04T23:36:17.218 CET INFO ][ org.kde.kstars.ekos.align] - "Clearing mount Alignment Model..."
[2021-12-04T23:36:17.238 CET INFO ][ org.kde.kstars.ekos.align] - "Capturing image..."
[2021-12-04T23:36:17.244 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Telescope already unparked. "
[2021-12-04T23:36:17.245 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Start Tracking (Sidereal). "
[2021-12-04T23:36:18.768 CET INFO ][ org.kde.kstars.ekos.align] - "Image received."
[2021-12-04T23:36:21.081 CET INFO ][ org.kde.kstars.ekos.align] - "Solver completed after 2.27 seconds."
[2021-12-04T23:36:21.082 CET INFO ][ org.kde.kstars.ekos.align] - "Effective telescope focal length is updated to 246,96 mm."
[2021-12-04T23:36:21.106 CET INFO ][ org.kde.kstars.ekos.align] - "Solution coordinates: RA (09h 13m 56s) DEC ( 85° 57' 26\") Telescope Coordinates: RA (09h 08m 07s) DEC ( 90° 00' 00\")"
[2021-12-04T23:36:21.121 CET INFO ][ org.kde.kstars.ekos.align] - "Please wait while WCS data is processed..."
[2021-12-04T23:36:21.132 CET INFO ][ org.kde.kstars.indi] - ZWO CCD ASI120MM-S : "[INFO] CCD FOV rotation updated to -178.299 degrees. "
[2021-12-04T23:36:21.158 CET INFO ][ org.kde.kstars.ekos.align] - "WCS data processing is complete."
[2021-12-04T23:36:21.169 CET INFO ][ org.kde.kstars.ekos.align] - "Please wait until mount completes rotating to RA (07h 08m 07s) DE ( 90° 00' 00\")"
[2021-12-04T23:36:21.177 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Starting West slew. "
[2021-12-04T23:36:22.068 CET INFO ][ org.kde.kstars.ekos.guide] - "Mount is moving. Resetting calibration..."
[2021-12-04T23:36:22.069 CET INFO ][ org.kde.kstars.ekos.guide] - "Calibration is cleared."
[2021-12-04T23:36:28.675 CET INFO ][ org.kde.kstars.ekos.align] - "Mount first rotation is complete."
[2021-12-04T23:36:28.686 CET INFO ][ org.kde.kstars.ekos.align] - "Settling..."
[2021-12-04T23:36:28.722 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] West Slew stopped "
[2021-12-04T23:36:29.999 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Restarting RA Tracking... "
[2021-12-04T23:36:30.270 CET INFO ][ org.kde.kstars.ekos.align] - "Capturing image..."
[2021-12-04T23:36:31.754 CET INFO ][ org.kde.kstars.ekos.align] - "Image received."
[2021-12-04T23:36:34.089 CET INFO ][ org.kde.kstars.ekos.align] - "Solver completed after 2.29 seconds."
[2021-12-04T23:36:34.091 CET INFO ][ org.kde.kstars.ekos.align] - "Effective telescope focal length is updated to 246,949 mm."
[2021-12-04T23:36:34.114 CET INFO ][ org.kde.kstars.ekos.align] - "Solution coordinates: RA (08h 51m 07s) DEC ( 85° 57' 47\") Telescope Coordinates: RA (07h 05m 58s) DEC ( 90° 00' 00\")"
[2021-12-04T23:36:34.124 CET INFO ][ org.kde.kstars.ekos.align] - "Please wait while WCS data is processed..."
[2021-12-04T23:36:34.146 CET INFO ][ org.kde.kstars.indi] - ZWO CCD ASI120MM-S : "[INFO] CCD FOV rotation updated to -153.556 degrees. "
[2021-12-04T23:36:34.147 CET INFO ][ org.kde.kstars.ekos.align] - "WCS data processing is complete."
[2021-12-04T23:36:34.151 CET INFO ][ org.kde.kstars.ekos.align] - "Please wait until mount completes rotating to RA (05h 05m 58s) DE ( 90° 00' 00\")"
[2021-12-04T23:36:34.218 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Starting West slew. "
[2021-12-04T23:36:34.576 CET INFO ][ org.kde.kstars.ekos.guide] - "Mount is moving. Resetting calibration..."
[2021-12-04T23:36:34.577 CET INFO ][ org.kde.kstars.ekos.guide] - "Calibration is cleared."
[2021-12-04T23:36:42.295 CET INFO ][ org.kde.kstars.ekos.align] - "Mount second rotation is complete."
[2021-12-04T23:36:42.305 CET INFO ][ org.kde.kstars.ekos.align] - "Settling..."
[2021-12-04T23:36:42.307 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] West Slew stopped "
[2021-12-04T23:36:43.584 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Restarting RA Tracking... "
[2021-12-04T23:36:43.794 CET INFO ][ org.kde.kstars.ekos.align] - "Capturing image..."
[2021-12-04T23:36:45.281 CET INFO ][ org.kde.kstars.ekos.align] - "Image received."
[2021-12-04T23:36:47.603 CET INFO ][ org.kde.kstars.ekos.align] - "Solver completed after 2.28 seconds."
[2021-12-04T23:36:47.604 CET INFO ][ org.kde.kstars.ekos.align] - "Effective telescope focal length is updated to 247,047 mm."
[2021-12-04T23:36:47.626 CET INFO ][ org.kde.kstars.ekos.align] - "Solution coordinates: RA (08h 28m 56s) DEC ( 86° 09' 34\") Telescope Coordinates: RA (04h 54m 42s) DEC ( 90° 00' 00\")"
[2021-12-04T23:36:47.636 CET INFO ][ org.kde.kstars.ekos.align] - "Please wait while WCS data is processed..."
[2021-12-04T23:36:47.664 CET INFO ][ org.kde.kstars.ekos.align] - "WCS data processing is complete."
[2021-12-04T23:36:47.665 CET INFO ][ org.kde.kstars.ekos.align] - "Polar Alignment Error: 04° 09' 05\". Azimuth: 04° 09' 05\" Altitude: -00° 00' 05\""
[2021-12-04T23:36:47.764 CET INFO ][ org.kde.kstars.indi] - ZWO CCD ASI120MM-S : "[INFO] CCD FOV rotation updated to -126.448 degrees. "
[2021-12-04T23:37:48.180 CET INFO ][ org.kde.kstars.ekos.align] - Starting Polar Alignment Assistant refreshing...
[2021-12-04T23:39:58.081 CET INFO ][ org.kde.kstars.ekos.align] - "Refresh is complete."
[2021-12-04T23:39:58.089 CET INFO ][ org.kde.kstars.ekos.align] - Stopping Polar Alignment Assistant process...
[2021-12-04T23:39:58.102 CET INFO ][ org.kde.kstars.ekos.align] - "Parking the mount..."
[2021-12-04T23:39:58.240 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Parking mount: RA increment = -1645477, DE increment = 0 "
[2021-12-04T23:39:58.384 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Mount park in progress... "
[2021-12-04T23:39:58.957 CET INFO ][ org.kde.kstars.ekos.guide] - "Mount is moving. Resetting calibration..."
[2021-12-04T23:39:58.959 CET INFO ][ org.kde.kstars.ekos.guide] - "Calibration is cleared."
[2021-12-04T23:40:15.483 CET INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] Mount is parked. "
[2021-12-04T23:40:15.484 CET INFO ][ org.kde.kstars.ekos.align] - Target updated to JNow RA: "21h 12m 07s" DE: " 90° 00' 00\""

As always, thanks for your involvement!
Best Regards,
Sergio
 

Read More...

Hi all, 

tonight I experienced also this problem. It was my first session with KStars 3.5.6 (PPA) after upgrading from 3.5.5. I have KStars + INDI on a Ubuntu Mate 20.04 x86_64 box, and use a AZ-EQ6 (eqmod) mount.

In my case, I run the PA assistant using the guide camera/scope for faster refresh (my imaging camera is a slow CCD), but this seems to have no effect over this issue. The PA assistant captures and solves the first image, then does the first slew. After this slew the UI went somewhat crazy, "Capture&Solve" grayed out and reenabled in a loop. In the Mount tab in Ekos the coordinates were "jumping" although the mount wasn't slewing. Then I noticed that it was reporting Meridian flip, pending, running. First thing I did after cancelling the PA was purge the configuration of eqmod and set it to the defaults (it also was updated along with KStars and some other INDI modules; in the past I once ran into problems with configuration files of updated drivers). Not to avail. Then, I disabled "Flip if HA>" (which I always had set to 2 deg) and re-run PAA and everything went as normal (as I read now that the other posters did as well). 

Before KStars 3.5.6, this never happened to me. I will try to retrieve logs later to see if they help.

Best Regards,
Sergio
 

Read More...

Sergio replied to the topic 'Why this scheduler job was skipped?' in the forum. 7 months ago

Not a problem. Just needed to understand what these options really mean. Thank you so much for your assistance, Wolfgang!

Read More...

Sergio created a new topic ' Why this scheduler job was skipped?' in the forum. 7 months ago

Hi, last night I had a session with Ekos Scheduler consisting of two jobs, "LionNeb" and "SoulNeb" (in that order). Both had twilight and >40º altitude constraints. Aborted job management was set to "immediate" (300s) and re-schedule errors was enabled. 

When the first one lowered to 40º alt, Ekos aborted the capture (as expected) but the second job was never started, instead, it proceeded with the shutdown process. I think that those are the relevant log lines:

[2021-10-11T04:06:03.356 CEST INFO ][   org.kde.kstars.ekos.capture] - "Capturing 600,000-second Ha image..."
[2021-10-11T04:11:12.297 CEST INFO ][ org.kde.kstars.ekos.scheduler] - "Job 'LionNeb' current altitude (40,00 degrees) crossed minimum constraint altitude (40,00 degrees), marking idle."
[2021-10-11T04:11:12.352 CEST INFO ][ org.kde.kstars.ekos.scheduler] - "Job 'LionNeb' is stopping guiding..."
[2021-10-11T04:11:12.360 CEST INFO ][   org.kde.kstars.ekos.capture] - "Autoguiding stopped. Aborting..."
[2021-10-11T04:11:12.372 CEST INFO ][   org.kde.kstars.ekos.capture] - "CCD capture aborted"
[2021-10-11T04:11:12.379 CEST INFO ][     org.kde.kstars.ekos.guide] - "Autoguiding aborted."
[2021-10-11T04:11:12.518 CEST INFO ][           org.kde.kstars.indi] - MI G2-8300 :  "[INFO] Exposure aborted. "
[2021-10-11T04:11:13.365 CEST INFO ][ org.kde.kstars.ekos.scheduler] - "Job 'LionNeb' 100x600\" Ha sees 56 captures in output folder '/home/aristarco/datos/LionNeb/LionNeb/Light/Ha'."
[2021-10-11T04:11:13.365 CEST INFO ][ org.kde.kstars.ekos.scheduler] - "Job 'LionNeb' 100x600\" Ha requires a dither procedure."
[2021-10-11T04:11:13.368 CEST INFO ][ org.kde.kstars.ekos.scheduler] - "Job 'LionNeb' estimated to take 07h 34m 48s to complete."
[2021-10-11T04:11:13.370 CEST INFO ][ org.kde.kstars.ekos.scheduler] - Option to sort jobs based on priority and altitude is false
[2021-10-11T04:11:13.392 CEST INFO ][ org.kde.kstars.ekos.scheduler] - "Warning: job 'LionNeb' execution overlaps daylight, it will be interrupted at dawn and rescheduled on next night time."
[2021-10-11T04:11:13.477 CEST INFO ][ org.kde.kstars.ekos.scheduler] - "Job 'LionNeb' has a total score of -989 at 11/10 04:11."
[2021-10-11T04:11:13.501 CEST INFO ][ org.kde.kstars.ekos.scheduler] - "Warning: job 'SoulNeb' execution overlaps daylight, it will be interrupted at dawn and rescheduled on next night time."
[2021-10-11T04:11:13.508 CEST INFO ][ org.kde.kstars.ekos.scheduler] - "Job 'SoulNeb' has a total score of +102 at 11/10 04:11."
[2021-10-11T04:11:13.510 CEST INFO ][ org.kde.kstars.ekos.scheduler] - "Job 'LionNeb' has a total score of -989 at 11/10 04:11."
[2021-10-11T04:11:14.465 CEST INFO ][ org.kde.kstars.ekos.scheduler] - "Job 'LionNeb' scheduled for execution at 11/10 21:13. Observatory scheduled for shutdown until next job is ready."
[2021-10-11T04:11:14.476 CEST INFO ][ org.kde.kstars.ekos.scheduler] - Starting shutdown process...

My interpretation is that Ekos deals with the altitude constraint as a failed job so it tries to re-schedule it inmediately (as configured), delaying it to the next night. (In the log though, it seems that Ekos even scores the second job positively, but just didn't try to start it.)

I was trying to use the 'altitude constraint' as a condition for jumping to the next job, and 'immediate re-schedule' as a strategy for handling capture errors (like clouds messing the guiding/capture). In essence "stay with the same object even if problems arise until it falls too low, then try the next object". How should I do this?

Thanks in advance!
Sergio

 

Read More...

Sergio replied to the topic 'MI_CCD_USB (G2-8300) Not detected' in the forum. 8 months ago

Hi nMAC,

I have my G2-8300FW working with the last packages available from PPA stable repo:
indi-full (1.9.2~202109141834~ubuntu20.04.1)
indi-mi (1.8~202109141612~ubuntu20.04.1)
libmicam (1.0~202109131857~ubuntu20.04.1)

Also at least with the previous versions:
indi-full (1.9.1~202106280946~ubuntu20.04.1)
indi-mi (1.8~202107070054~ubuntu20.04.1)
libmicam (1.0~202011211549~ubuntu20.04.1)

What I get though is a timeout in the first connection (while the filter wheel is homing), but immediately it connects OK. This was happening from a while ago ( see github.com/indilib/indi-3rdparty/issues/425 ).

Not sure if that helps.
Regards

Read More...