let s play lego meets papyrus uml
play

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


  1. LET'S PLAY: LEGO MEETS PAPYRUS UML RÉMI SCHNEKENBURGER (CEA LIST) EclipseCON North America 2016, Reston (VA), March 08, 2016

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

  3. PAPYRUS IN A NUTSHELL

  4. PAPYRUS UML IN A NUTSHELL A graphical editing tool for UML 2 as defined by OMG

  5. PAPYRUS UML IN A NUTSHELL 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

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

  7. PAPYRUS INDUSTRIAL CONSORTIUM source: https://www.polarsys.org/ic/papyrus

  8. WHY USING LEGOS?

  9. WHY USING LEGOS? 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++

  10. AN EXPERIMENTATION PLATFORM: THE LEGO FACTORY Source: http://robotics.benedettelli.com/lego-car-factory/

  11. FIRST STEPS WITH LEGOS IN PAPYRUS

  12. FIRST STEPS IN PAPYRUS 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

  13. FIRST STEPS IN PAPYRUS 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 Source: http://www.ev3dev.org/

  14. LIVE DEMONSTRATION: CODE GENERATION & EXECUTION

  15. ADVANCED USAGE OF LEGOS AND PAPYRUS

  16. ADVANCED USAGE: SIMULATION AND EXECUTION 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

  17. DEMONSTRATION #2: PAPYRUS MOKA + LEGOS 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

  18. DEMONSTRATION #2: PAPYRUS MOKA + LEGOS

  19. DEMONSTRATION #2: PAPYRUS MOKA + LEGOS

  20. DEMONSTRATION #2: PAPYRUS MOKA + LEGOS

  21. DEMONSTRATION #2: PAPYRUS MOKA + LEGOS

  22. DEMONSTRATION #1: PAPYRUS BPMN + MOKA 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

  23. DEMONSTRATION #3: PAPYRUS BPMN & MOKA + LEGOS

  24. QUESTIONS?

  25. THANKS TO THE PAPYRUS LEGO TEAM! First example: Vincent Lorenzo (CEA LIST) Videos: Kunal Suri and Juan Cadavid (CEA LIST)

  26. STAY TUNED! 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

  27. Evaluate the Sessions Sign in and vote at eclipsecon.org - 1 + 1 0

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend