Commit a12375fc authored by Jasem Mutlaq's avatar Jasem Mutlaq

Stop solver on timeout

parent 1dd3381f
......@@ -1773,6 +1773,7 @@ void Align::checkAlignmentTimeout()
else if (loadSlewState == IPS_IDLE)
appendLogText(i18n("Solver timed out"));
// TODO must also account for loadAndSlew. Retain file name
......@@ -2425,12 +2426,10 @@ bool Align::captureAndSolve()
//This block of code will create the row in the solution table and populate RA, DE, and object name.
//It also starts the progress indicator.
qDebug() << "Ready to insert";
double ra, dec;
currentTelescope->getEqCoords(&ra, &dec);
if (loadSlewState == IPS_IDLE)
qDebug() << "Inserting";
int currentRow = solutionTable->rowCount();
for(int i = 4; i < 6; i++)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment