Kstars
adaptivefocus.h
14// AdaptiveFocus is setup as a friend class of Focus because it is tightly coupled to Focus relying on many
17// adaptiveFocus is signalled (by capture). Check each adaptive dimension (temp, alt) to determine whether a focus move is required.
20// Use the adaptive focus parameters associated with the current filter unless that has a lock filter, in which case use the lock filter.
22// and altitude. Adaptive focus then calculates the proposed position based on the current temperature and altitude
23// and calculates how to move from the current position to the proposed position - note there may be an overscan involved.
25// To keep track of the movements the data are passed to Analyze which allows the user to review everything. Analyze displays the
26// deltas from the previous adaptive focus run for temperature and altitude to the next adaptive focus run.
30// A complication is that not all focusers move exactly to the requested position - 'bad boy' focusers. E.g. a request to
31// goto position X results in the focuser moving to X, X +/- 1 or X +/- 2. These position errors need to be managed. There
32// are 2 aspects to this; before an Adaptive Focus iteration, the focuser may be "off" where it should be. This could be
33// because the focuser is a "bad boy" so it moved to the correct position +/- 1 or 2 ticks; this is the Last Pos Error.
34// Adaptive Focus will attempt to correct this error even if there are no temperature or altitude changes (providing the
39// Proposed Position = Ref Position (from last Autofocus) + adjustment for temperature + adjustment for altitude
42// Last Pos Error Reversal = Last Iteration Proposed Move - Focuser position at start of Adaptive Focus iteration
44// End Position = Start Position + temperature adjustment + altitude adjustment + Last Pos Error Reversal + This Pos Error
78// Adapt Start Pos adjusts the start position of an autofocus run based on Adaptive Focus settings
79// The start position uses the last successful AF run for the active filter and adapts that position
80// based on the temperature and altitude delta between now and when the last successful AF run happened
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.