Wolfgang Reissenberger replied to the topic '[FIXED] Dome does not support variable speed' in the forum. 12 hours 54 minutes ago

Strange! Do you have an idea where the call to SetSpeed() comes from? Is the parameter stored in the config file?

Read More...

Alfred thanked Wolfgang Reissenberger in topic infinite loop focusing 18 hours 53 minutes ago

Alfred thanked Wolfgang Reissenberger in topic infinite loop focusing 18 hours 53 minutes ago

Wolfgang Reissenberger replied to the topic 'Dome does not support variable speed' in the forum. 19 hours 10 minutes ago

This is a warning from INDI::Dome when SetSpeed() is called. Does your driver support the capability DOME_HAS_VARIABLE_SPEED?

Read More...

Wolfgang Reissenberger replied to the topic 'infinite loop focusing' in the forum. yesterday

The fix is on the way with diff D23258 .

- Wolfgang

Read More...

Wolfgang Reissenberger replied to the topic 'infinite loop focusing' in the forum. yesterday

... and I can confirm - at least with simulators - setting "In-Sequence HFR Check" to 2 is a proper work around.

- Wolfgang

Read More...

Wolfgang Reissenberger replied to the topic 'infinite loop focusing' in the forum. yesterday

OK, I could reproduce it with simulators.

  1. Start an autofocus sequence so that autofocus succeeds.
  2. Create an image sequence with HFR limit set and with more than one frame. Set EKOS / Capture Parameter "In-Sequence HFR Check" to 1.
  3. Start the image sequence
After the first image captured and before the second one starts, the Capture module loops in focusing.

Read More...

Wolfgang Reissenberger replied to the topic 'infinite loop focusing' in the forum. yesterday

I haven't reproduced it with simulators yet. The problem is this line in Capture::startFocusIfRequired():

else if (isInSequenceFocus && --inSequenceFocusCounter == 0)
isInSequenceFocus is only updated in resumeSequence(), but startFocusIfRequired() is called in startNextExposure(), i.e. it loops here as soon as the first image has been completed.
This is what I found out from the logs and reading the code. As a next step I will try to reproduce it - and then fix it...

- Wolfgang

Read More...

Wolfgang Reissenberger replied to the topic 'infinite loop focusing' in the forum. 2 days ago

Hi Derek,
I think I found the problem. It looks like the focus status for HFR based refocusing is broken.

As far as I understand the code, it should be a workaround changing the EKOS / Capture Parameter "In-Sequence HFR Check" to a value > 1.

- Wolfgang

Read More...