Changeset View
Changeset View
Standalone View
Standalone View
kstars/ekos/capture/capture.cpp
Show First 20 Lines • Show All 3319 Lines • ▼ Show 20 Line(s) | 3304 | { | |||
---|---|---|---|---|---|
3320 | } | 3320 | } | ||
3321 | else appendLogText(i18n("Guiding deviation %1 is still higher than limit value of %2 arcsecs.", | 3321 | else appendLogText(i18n("Guiding deviation %1 is still higher than limit value of %2 arcsecs.", | ||
3322 | deviationText, guideDeviation->value())); | 3322 | deviationText, guideDeviation->value())); | ||
3323 | } | 3323 | } | ||
3324 | } | 3324 | } | ||
3325 | 3325 | | |||
3326 | void Capture::setFocusStatus(FocusState state) | 3326 | void Capture::setFocusStatus(FocusState state) | ||
3327 | { | 3327 | { | ||
3328 | qCDebug(KSTARS_EKOS_CAPTURE) << "setFocusStatus: " << state; | ||||
3328 | focusState = state; | 3329 | focusState = state; | ||
3329 | 3330 | | |||
3330 | if (focusState > FOCUS_ABORTED) | 3331 | if (focusState > FOCUS_ABORTED) | ||
3331 | return; | 3332 | return; | ||
3332 | 3333 | | |||
3333 | if (focusState == FOCUS_COMPLETE) | 3334 | if (focusState == FOCUS_COMPLETE) | ||
3334 | { | 3335 | { | ||
3335 | // enable option to have a refocus event occur if HFR goes over threshold | 3336 | // enable option to have a refocus event occur if HFR goes over threshold | ||
▲ Show 20 Lines • Show All 1487 Lines • ▼ Show 20 Line(s) | 4823 | { | |||
4823 | m_State = CAPTURE_ABORTED; | 4824 | m_State = CAPTURE_ABORTED; | ||
4824 | emit newStatus(m_State); | 4825 | emit newStatus(m_State); | ||
4825 | } | 4826 | } | ||
4826 | } | 4827 | } | ||
4827 | } | 4828 | } | ||
4828 | 4829 | | |||
4829 | void Capture::setAlignStatus(AlignState state) | 4830 | void Capture::setAlignStatus(AlignState state) | ||
4830 | { | 4831 | { | ||
4832 | qCDebug(KSTARS_EKOS_CAPTURE) << "setAlignStatus: " << state; | ||||
4831 | alignState = state; | 4833 | alignState = state; | ||
4832 | 4834 | | |||
4833 | resumeAlignmentAfterFlip = true; | 4835 | resumeAlignmentAfterFlip = true; | ||
4834 | 4836 | | |||
4835 | switch (state) | 4837 | switch (state) | ||
4836 | { | 4838 | { | ||
4837 | case ALIGN_COMPLETE: | 4839 | case ALIGN_COMPLETE: | ||
4838 | if (meridianFlipStage == MF_ALIGNING) | 4840 | if (meridianFlipStage == MF_ALIGNING) | ||
▲ Show 20 Lines • Show All 1841 Lines • Show Last 20 Lines |