summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-25 10:42:39 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-25 10:42:39 (GMT)
commit3b0bf48ad42c63742052247b102c737618d24459 (patch)
tree08e5a9a5c3352dfdc71684a9e5db8eb5572dbb6d
parent6dfa89afc8171d045af5374e1513fd1ccceabe01 (diff)
Add log comment when timing out. Must find solution for loadAndSlew condition on timeout
-rw-r--r--kstars/ekos/align/align.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/kstars/ekos/align/align.cpp b/kstars/ekos/align/align.cpp
index e93c285..72863c6 100644
--- a/kstars/ekos/align/align.cpp
+++ b/kstars/ekos/align/align.cpp
@@ -211,7 +211,11 @@ void Align::checkAlignmentTimeout()
if (loadSlewState != IPS_IDLE || ++solverIterations == MAXIMUM_SOLVER_ITERATIONS)
abort();
else if (loadSlewState == IPS_IDLE)
- captureAndSolve();
+ {
+ appendLogText(i18n("Solver timed out"));
+ captureAndSolve();
+ }
+ // TODO must also account for loadAndSlew. Retain file name
}
void Align::setSolverType(int type)