+ All Categories
Home > Software > Community Day 2016: BPMN meets LEGO® MINDSTORMS®

Community Day 2016: BPMN meets LEGO® MINDSTORMS®

Date post: 08-Jan-2017
Category:
Upload: camunda-bpm
View: 121 times
Download: 3 times
Share this document with a friend
19
Oliver Hock Videa Project Services GmbH
Transcript

Oliver HockVidea Project Services GmbH

Videa Services GmbH [email protected]

JUG Hamburg Kids4IT Hamburg

@oliver_hockOliver_Hock3

olihock / bepemind Tae Kwon Do + Sailing

PECuriosity

FunPrecision

Knowledge

SnapshotsOutput

States

Motors

Queries

Sensors

Turn Table

Cube Tilter

Brick

Color Sensor

PC/Remote API

Sensor/Motor Port API

JAR

Java Application

Main Process

Scan single Brick

React on Cube

Walk CubeScan Face

Face DMNScan all Bricks

Rotate Motor

Scan Cube Calculate Solve Cube

Face to Face

Move Face

Move DMN

TwistTiltTurn

Robot Access Delegate Layer

Brick Access Factory

«JavaDelegate»

Data Objects

CubeFinder Functions RotateMotorDelegate

GetColorDelegate

new MotorFactory()

new SensorFactory()

Very Static Model static Motor.A

static SensorPort.S1

Process

public class RotateMotorDelegate implements JavaDelegate {

public void execute(DelegateExecution execution) throws Exception {

String motorPort = (String) execution.getVariable(“motorPort”);

Number speed = (Number) execution.getVariable(“speed”);

// leJOS stuff here

@Deployment(resources = {

"com/videaps/cube/solving/ScanCube.bpmn"

})

public class ScanCubeTest extends BaseTest {

@Test

public void test() {

ProcessInstance processInstance =

processEngine.getRuntimeService()

.startProcessInstanceByKey(

"Process_ScanCube");

assertTrue(processInstance.isEnded());

}

Run as …

MotorFactory.java

RotateMotorDelegate.java

GetColorDeleage.java

Thank you

Questions?Answers.


Recommended