// try {\r
// obj.wait();\r
// } catch (IllegalMonitorStateException ie) {\r
// System.out.println("IllegalMonitorStateException caught in main loop");\r
// }\r
currentCommand = TestSensorInput.getCommand();\r
// try {\r
// obj.wait();\r
// } catch (IllegalMonitorStateException ie) {\r
// System.out.println("IllegalMonitorStateException caught in main loop");\r
// }\r
currentCommand = TestSensorInput.getCommand();\r