Changeset View
Changeset View
Standalone View
Standalone View
kstars/ekos/scheduler/scheduler.cpp
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
Show First 20 Lines • Show All 6853 Lines • ▼ Show 20 Line(s) | 6851 | { | |||
---|---|---|---|---|---|
6854 | { | 6854 | { | ||
6855 | // Check if it is guiding related. | 6855 | // Check if it is guiding related. | ||
6856 | QVariant guideStatus = guideInterface->property("status"); | 6856 | QVariant guideStatus = guideInterface->property("status"); | ||
6857 | Ekos::GuideState gStatus = static_cast<Ekos::GuideState>(guideStatus.toInt()); | 6857 | Ekos::GuideState gStatus = static_cast<Ekos::GuideState>(guideStatus.toInt()); | ||
6858 | if (gStatus == Ekos::GUIDE_ABORTED || | 6858 | if (gStatus == Ekos::GUIDE_ABORTED || | ||
6859 | gStatus == Ekos::GUIDE_CALIBRATION_ERROR || | 6859 | gStatus == Ekos::GUIDE_CALIBRATION_ERROR || | ||
6860 | gStatus == GUIDE_DITHERING_ERROR) | 6860 | gStatus == GUIDE_DITHERING_ERROR) | ||
6861 | { | 6861 | { | ||
6862 | appendLogText(i18n("Job '%1' is capturing, and is restarting its guiding procedure.", currentJob->getName())); | 6862 | appendLogText(i18n("Job '%1' is capturing, is restarting its guiding procedure (attempt #%2 of %3).", currentJob->getName(), captureFailureCount, MAX_FAILURE_ATTEMPTS)); | ||
6863 | startGuiding(true); | 6863 | startGuiding(true); | ||
6864 | return; | 6864 | return; | ||
6865 | } | 6865 | } | ||
6866 | } | 6866 | } | ||
6867 | 6867 | | |||
6868 | /* FIXME: it's not clear whether it is actually possible to continue capturing when capture fails this way */ | 6868 | /* FIXME: it's not clear whether it is actually possible to continue capturing when capture fails this way */ | ||
6869 | appendLogText(i18n("Warning: job '%1' failed its capture procedure, restarting capture.", currentJob->getName())); | 6869 | appendLogText(i18n("Warning: job '%1' failed its capture procedure, restarting capture.", currentJob->getName())); | ||
6870 | startCapture(true); | 6870 | startCapture(true); | ||
▲ Show 20 Lines • Show All 320 Lines • Show Last 20 Lines |