Skip to content

Developer's Guide

pappist edited this page Sep 1, 2016 · 7 revisions

Development environment setup - Eclipse

Install Eclipse Modeling Tools - Neon Release (4.6.0)

  • Download & run eclipse installer

  • Select Eclipse Modeling Tools

  • Install m2e - Maven Integration for Eclipse

Install Viatra-CEP

  • Follow the instructions in the installation guide.

    • The demo was created with Viatra CEP 0.14 version.

Install Drools Fusion

Third party library & driver installation

LeapMotion driver & SDK

  • Installation on Linux

  • Installation on Windows

    • Download & install the latest SDK version

ZeroMQ installation

Protobuf installation

Frame stream processor

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.

Run configurations

  • 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

  • IoT CEP Demo - Drools — start the Drools Fusion component

  • IoT CEP Demo - Viatra CEP — start the Viatra CEP component

Clone this wiki locally