Commit 9de535be authored by Andrey Filippov's avatar Andrey Filippov

fixed testing of UAS logs

parent 442339b5
......@@ -6284,6 +6284,17 @@ public class Eyesis_Correction implements PlugIn, ActionListener {
}
CholeskyBlockTest.testCholesky(imp_sel); // ImagePlus imp.);
} else if (label.equals("UAS log")) {
if (QUAD_CLT_AUX == null) {
if (EYESIS_CORRECTIONS_AUX == null) {
EYESIS_CORRECTIONS_AUX = new EyesisCorrections(SYNC_COMMAND.stopRequested,
CORRECTION_PARAMETERS.getAux());
}
QUAD_CLT_AUX = new QuadCLT(QuadCLT.PREFIX_AUX, PROPERTIES, EYESIS_CORRECTIONS_AUX,
CORRECTION_PARAMETERS.getAux());
if (DEBUG_LEVEL > 0) {
System.out.println("Created new QuadCLT instance, will need to read CLT kernels for aux camera");
}
}
testUasLog();
} else if (label.equals("DJI SRT")) {
testDjiSrt();
......@@ -6333,7 +6344,8 @@ public class Eyesis_Correction implements PlugIn, ActionListener {
return false;
} // final int debugLevel);
}
EYESIS_CORRECTIONS_AUX.initSensorFiles(DEBUG_LEVEL);
EYESIS_CORRECTIONS_AUX.initSensorFiles(DEBUG_LEVEL); // null pointer
if (!QUAD_CLT_AUX.CLTKernelsAvailable()) {
if (DEBUG_LEVEL > 0) {
System.out.println("Reading AUX CLT kernels");
......
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