Skip to content

Adaptive Focus Fix1

John Evans requested to merge johnevans/kstars:adaptivefocusfix1 into master

Rewrite of the Adaptive Focus algorithm to:

  1. Deal with "bad boy" focusers that move to requested focus position +/- 1 or 2 ticks.
  2. Use the lock filter (if there is one) for the ticks/C and ticks/Alt parameter

The new algorithm calculates focuser moves based on a reference to Last Autofocus run. The "accounting" for this move is then broken down into: move = Temperature delta + Altitude Delta + positioning error on previous adaptive focus iteration + positioning error on this adaptive focus iteration

These changes have required changes to Analyze.

Coding complete. Tested on sims.

Edited by John Evans

Merge request reports