Skip to content

Commit 93741bc

Browse files
committed
adding print statements to the kernel
1 parent dfc62c2 commit 93741bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/neuronrobotics/bowlerstudio/BowlerKernel.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,8 @@ private static void startupProcedures(String[] args)
425425
fail();
426426
}
427427
CSGDatabase.setInstance(new CSGDatabaseInstance(new File(ScriptingEngine.getWorkspace().getAbsoluteFile() + "/csgDatabase.json")));
428-
428+
Log.setFile(new File(ScriptingEngine.getWorkspace().getAbsoluteFile() + "/kernelLog.txt"));
429+
Log.enableDebugPrint();
429430
ScriptingEngine.gitScriptRun(CSGDatabase.getInstance(),"https://github.com/CommonWealthRobotics/DeviceProviders.git", "loadAll.groovy",
430431
null);
431432
CSG.setPreventNonManifoldTriangles(true);
@@ -435,7 +436,6 @@ public void progressUpdate(int currentIndex, int finalIndex, String type,
435436
eu.mihosoft.vrl.v3d.CSG intermediateShape) {
436437

437438
}
438-
439439
});
440440
}
441441

0 commit comments

Comments
 (0)