LET'S PLAY: LEGO MEETS PAPYRUS UML RMI SCHNEKENBURGER (CEA LIST) - - PowerPoint PPT Presentation

let s play lego meets papyrus uml
SMART_READER_LITE
LIVE PREVIEW

LET'S PLAY: LEGO MEETS PAPYRUS UML RMI SCHNEKENBURGER (CEA LIST) - - PowerPoint PPT Presentation

LET'S PLAY: LEGO MEETS PAPYRUS UML RMI SCHNEKENBURGER (CEA LIST) EclipseCON North America 2016, Reston (VA), March 08, 2016 INTRODUCTION Papyrus in a Nutshell Why using Legos? First steps with Legos Advanced usage PAPYRUS IN A NUTSHELL


slide-1
SLIDE 1

LET'S PLAY: LEGO MEETS PAPYRUS UML

RÉMI SCHNEKENBURGER (CEA LIST)

EclipseCON North America 2016, Reston (VA), March 08, 2016
slide-2
SLIDE 2

INTRODUCTION Papyrus in a Nutshell Why using Legos? First steps with Legos Advanced usage

slide-3
SLIDE 3

PAPYRUS IN A NUTSHELL

slide-4
SLIDE 4

PAPYRUS UML IN A NUTSHELL

A graphical editing tool for UML 2 as defined by OMG

slide-5
SLIDE 5

Key features:

Support table, graphical & form-based editing 100% conformant to standards: UML, SysML and others Fully extensible:

Language as extensions of UML : SysML 1.4, UML-RT, etc. Views, with customization of existing ones or new ones

Integration with many eclipse components

Model compare Model transformation Report generation Code edition & generation

PAPYRUS UML IN A NUTSHELL

slide-6
SLIDE 6

PAPYRUS INDUSTRIAL CONSORTIUM

https://www.eclipse.org/org/press-release/20160222_papyrus_industry_consortium.php & https://www.polarsys.org/ic/papyrus

slide-7
SLIDE 7

PAPYRUS INDUSTRIAL CONSORTIUM

source: https://www.polarsys.org/ic/papyrus

slide-8
SLIDE 8

WHY USING LEGOS?

slide-9
SLIDE 9

Easy to access

Cheap Widespread Already available in many places

Representative

Many actuators / sensors already existing Allows complex systems with several implementation languages:

EV3Basic as an extension of Microsoft smallBasic, Java with Lejos C++

WHY USING LEGOS?

slide-10
SLIDE 10

AN EXPERIMENTATION PLATFORM: THE LEGO FACTORY

Source: http://robotics.benedettelli.com/lego-car-factory/

slide-11
SLIDE 11

FIRST STEPS WITH LEGOS IN PAPYRUS

slide-12
SLIDE 12

Application model in Papyrus…

Structural definition of the application

Composite structure diagrams to describe the application and the various elements known by the program

Definition also of the behavior:

State machine and few lines of hand written code

But also the platform and deployment of code on the platform

Only a simple one for the demo, with only one brick for code execution

FIRST STEPS IN PAPYRUS

slide-13
SLIDE 13

Context

EV3 Brick running on linux (ev3dev) Papyrus installed with MARTE and Designer extensions

MARTE: Modeling and Analysis of Real-time Embedded Systems Designer: Component based design methodology Plugin with ev3dev libraries C++ reversed code as a UML library and few customizations

Scenario

Build the application model, with help of the reversed library Deploy it on a simple platform model Generate code Compile code for the ev3 brick target Deploy the code on the brick and run it

FIRST STEPS IN PAPYRUS

Source: http://www.ev3dev.org/

slide-14
SLIDE 14

LIVE DEMONSTRATION: CODE GENERATION & EXECUTION

slide-15
SLIDE 15

ADVANCED USAGE OF LEGOS AND PAPYRUS

slide-16
SLIDE 16

Model Execution and Simulation with MOKA

Based on standard FUML (OMG)

FUML  Semantics Of A Foundational Subset For Executable UML Models

Open source component, part of the Papyrus project

ADVANCED USAGE: SIMULATION AND EXECUTION

slide-17
SLIDE 17

Use case: driving the Lego factory from UML Model Context

Lego car factory, with an EV3 brick having Lejos installed Papyrus

MOKA installed Model of the application, behavior described with an activity diagram Papyrus and Moka are connected to the Brick via bluetooth

Scenario

User wants to drive the factory and debug / test the production process Moka will drive the Lego brick, with Lejos java methods to control motors / sensors Breakpoint to allow a user action – adding the roof of the car

DEMONSTRATION #2: PAPYRUS MOKA + LEGOS

slide-18
SLIDE 18

DEMONSTRATION #2: PAPYRUS MOKA + LEGOS

slide-19
SLIDE 19

DEMONSTRATION #2: PAPYRUS MOKA + LEGOS

slide-20
SLIDE 20

DEMONSTRATION #2: PAPYRUS MOKA + LEGOS

slide-21
SLIDE 21

DEMONSTRATION #2: PAPYRUS MOKA + LEGOS

slide-22
SLIDE 22

Use case: optimizing the Lego factory process from UML Model Context:

Description of the process of car production in Papyrus with BPMN Simulation of the process using Moka Propose enhancement on the platform

Next steps:

Reconfigure the platform and rerun the execution

DEMONSTRATION #1: PAPYRUS BPMN + MOKA

slide-23
SLIDE 23

DEMONSTRATION #3: PAPYRUS BPMN & MOKA + LEGOS

slide-24
SLIDE 24

QUESTIONS?

slide-25
SLIDE 25

First example:

Vincent Lorenzo (CEA LIST)

Videos:

Kunal Suri and Juan Cadavid (CEA LIST)

THANKS TO THE PAPYRUS LEGO TEAM!

slide-26
SLIDE 26

Papyrus website http://www.eclipse.org/papyrus Papyrus youtube channel: https://www.youtube.com/channel/UCxyPoBlZc_rKLS7_K2dtwYA Papyrus wiki: http://wiki.eclipse.org/Papyrus

STAY TUNED!

slide-27
SLIDE 27

Evaluate the Sessions Sign in and vote at eclipsecon.org

  • 1

+ 1