-
Notifications
You must be signed in to change notification settings - Fork 1
Developer's Guide
-
Download & run eclipse installer
-
Select Eclipse Modeling Tools
-
Install m2e - Maven Integration for Eclipse
-
Follow the instructions in the installation guide.
-
The demo was created with Viatra CEP 0.14 version.
-
-
Select the following items form Drools 6.4.0.Final update site:
-
JBoss Drools Core 6.4.0.Final
-
JBoss Drools Core Developer Resources 6.4.0.Final
-
-
Download the Oomph Setup
-
Start the eclipse installer and select Eclipse Modeling Tools (Neon)
-
Switch to advanced mode
-
Import the downloaded setup (with green add button)
-
Check related paths and finish the installation
-
Installation on Linux
-
Follow the instructions on LeapMotion notes page.
-
-
Installation on Windows
-
Download & install the latest SDK version
-
-
Native library and Java binding installation needed.
-
Follow the Protocol Compiler installation guide.
To create new frame stream you only need to inherit your stream handler class from AbstractProtoFrameStream and implement the processFrame method. After you start the component the processFrame will be called if a new frame arrived from the LeapMotion controller.
-
IoT CEP Demo - LeapMotion - Record — start LeapMotion controller application in record mode.
-
-record <path to output directory>
-
-fps <1-150> — transmit stream with the given frame per second
-
Note: The frame stream always be recorded with the maximum FPS available through Leap Motion controller. The -fps parameter only impact the publishing frequency to processing components.
-
IoT CEP Demo - LeapMotion - Replay — start LeapMotion controller application in replay mode.
-
-replay <path to _.lmstream file>_
-
-fps <1-150> — replay stream with the given frame per second
-
Replay commands:
-
replay - start continuous replay
-
pause - pause current replay
-
step - replay only the next frame from the current position
-
reset - Reset the replay - jump to the first frame
-
-
-
IoT CEP Demo - Drools — start the Drools Fusion component
-
IoT CEP Demo - Viatra CEP — start the Viatra CEP component