summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-08-31 12:11:07 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-08-31 12:11:07 (GMT)
commit5bae8f50f712554a89f3c5d09c4a4506a0b4f214 (patch)
tree8dee45a7643f381c9a8144ea3a2f6ff9050802f0
parent46cfa929fa84dec93e9d0d6f207a7eb7a202bc4b (diff)
Introduce 1500ms delay between slew motion completion and start of capturing for next astrometry image to avoid residual motion from the mount
-rw-r--r--kstars/ekos/align.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kstars/ekos/align.cpp b/kstars/ekos/align.cpp
index 4528566..cb77926 100644
--- a/kstars/ekos/align.cpp
+++ b/kstars/ekos/align.cpp
@@ -1063,7 +1063,7 @@ void Align::processTelescopeNumber(INumberVectorProperty *coord)
if (loadSlewMode)
{
loadSlewMode = false;
- captureAndSolve();
+ QTimer::singleShot(1500, this, SLOT(captureAndSolve()));
return;
}
else if (m_slewToTargetSelected)
@@ -1086,7 +1086,7 @@ void Align::processTelescopeNumber(INumberVectorProperty *coord)
}
appendLogText(i18n("Target accuracy is not met, running solver again..."));
- captureAndSolve();
+ QTimer::singleShot(1500, this, SLOT(captureAndSolve()));
return;
}
}