I imported the piston, but I am unable to get it working. I do not see where the ST Multi sensor is reporting orientation as rear side up…ect. See below.
Logs
12/28/2017, 1:52:55 PM +40ms
+1ms ╔Received event [A Scene Cube].threeAxis = -990,43,10 with a delay of 179ms
+118ms ║RunTime Analysis CS > 11ms > PS > 81ms > PE > 26ms > CE
+121ms ║Runtime (43376 bytes) successfully initialized in 81ms (v0.2.101.20171227) (119ms)
+122ms ║╔Execution stage started
+129ms ║║Comparison (enum) front side up changes = true (0ms)
+130ms ║║Condition #21 evaluated true (3ms)
+130ms ║║Condition group #1 evaluated true (state did not change) (4ms)
+133ms ║║Evaluating switch with values [[i::0fb7c880d6e8db92f7ea5b8bf7a933a7::orientation, v:[t:enum, v:front side up, d::0fb7c880d6e8db92f7ea5b8bf7a933a7:, a:orientation, i:null, x:false, vt:string]]]
+136ms ║║Comparison (enum) front side up is (string) rear side up = false (1ms)
+139ms ║║Comparison (enum) front side up is (string) down side up = false (1ms)
+142ms ║║Comparison (enum) front side up is (string) left side up = false (1ms)
+144ms ║║Comparison (enum) front side up is (string) front side up = true (1ms)
+146ms ║║Cancelling statement #15’s schedules…
+149ms ║║Error executing virtual command [].setVariable: (1ms) groovy.lang.MissingPropertyException: No such property: result for class: script_app_webCoRE_Pi_19514eaf_6f2f_47d6_88e0_3ee12653e45f_ver_0_5 Possible solutions: request
+158ms ║║Executed virtual command setVariable (3ms)
+160ms ║║Cancelling statement #22’s schedules…
+163ms ║║An error occurred while executing the event: java.lang.NullPointerException: Cannot get property ‘v’ on null object
+166ms ║╚Execution stage complete. (45ms)
+167ms ╚Event processed successfully (167ms)