Created attachment 159851 [details] Repeat for do incorrect the schedule jobs SUMMARY There is a problem in mosaic usin scheduler. I think in the job completion conditions, the repeat for option, should be for all jobs in scheduler but panel 1, panel2, panel3...finish all panels one time and repeat again x times until complete the number of runs indicated in the repeat for option. STEPS TO REPRODUCE 1. Conect EKOS using simulators for easy reproduce. 2. GOTO: Select object in kstars planetarium and sent telescope there. 3. EKOS: Click on sheduler tab 4. In job completion conditions select "Repeat For = 2" 5. Click on mosaic Icon and make an mosaic 2x1 5. Start jobs. OBSERVED RESULT The "Repeat for" rutine have a bug: The sheduler start jobs, but with mosaics, repeat a panel x times and pass to the next and this its an error. The Repeat for do.... Panel1 - 2 captures Panel1-capture1 Panel1-capture2 Panel2 - 2 captures Panel2-capture1 Panel2-capture2 I think this is a bug. Should be work panel1, panel2 ...finish all panels one time and repeat again until complete the number of runs indicated in the "repeat for" option. EXPECTED RESULT Repeat for should be... For first time: Panel1-capture1 Panel2-capture1 for second time: Panel1-capture2 Panel2-capture2 etc... NOTE: For repeat each panel numbers of captures its the sequency file "*.esq" SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Linux Mint Vera 21 (Ubuntu) (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION See this video for more details: https://youtu.be/PqUaEvdlFc8
Another posible solution for this bug without modify repeat for rutine, its add a "restart all jobs" button in the job completion conditions for a number of times, and if check this option, the shudeler, re-start all jobs when complete.
Created attachment 159867 [details] Repeat for do incorrect the schedule jobs
This behavior makes sense, but the current scheduler has no option to group scheduler jobs and repeat this group.
The refactoring is still ongoing, and without it we agreed not to touch the scheduler.