Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Sirius/Tutorials/Mindstorms"
(→Mindstorms Tutorial) |
(→Resources) |
||
(29 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Sirius]] | ||
=Mindstorms Robot Tutorial= | =Mindstorms Robot Tutorial= | ||
+ | * '''Authors''': | ||
+ | ** Julien Dupont - [https://www.obeo.fr/ Obeo] | ||
+ | ** Frédéric Madiot - [https://www.obeo.fr/ Obeo] | ||
+ | * '''Sirius version''' | ||
+ | ** This tutorial has been produced with [https://www.obeodesigner.com/en/download Obeo Designer 11.0] which includes [https://www.eclipse.org/siriu Sirius] 6.0.1. | ||
+ | * '''Questions''' | ||
+ | ** If you need help about this tutorial, please post your question on [https://www.eclipse.org/forums/index.php?t=thread&frm_id=262 Sirius forum] | ||
+ | |||
+ | ==Overview== | ||
This tutorial explains how to use Eclipse Sirius to create a graphical modeling tool for a Mindstorms Robot. | This tutorial explains how to use Eclipse Sirius to create a graphical modeling tool for a Mindstorms Robot. | ||
− | [[File:Mindstorms.png]] | + | [[File:Mindstorms.png|600px]] |
This tool allows the user to graphically define a set of basic instructions (that we call a Choreography) that the Robot can execute: Go forward, Rotate, Grab an object, Release an object. A choreography can also be composed of other choreographies. | This tool allows the user to graphically define a set of basic instructions (that we call a Choreography) that the Robot can execute: Go forward, Rotate, Grab an object, Release an object. A choreography can also be composed of other choreographies. | ||
− | [[File:MindstormsTool.png]] | + | [[File:MindstormsTool.png|600px]] |
+ | |||
+ | ==Contents== | ||
+ | The tutorial is composed of five parts. | ||
+ | |||
+ | ===Introduction=== | ||
+ | In this part, we explain the objectives of the tutorial and some basics about EMF and Sirius concepts. | ||
+ | *Read the [[Sirius/Tutorials/Mindstorms/Introduction | detailed script]] | ||
+ | *Watch the [https://youtu.be/uKBGVwmRzi0 video] (3'03) | ||
+ | |||
+ | |||
+ | [[File:Mindstorms-video1.png|link=https://youtu.be/uKBGVwmRzi0]] | ||
+ | |||
+ | |||
+ | ===Domain Model=== | ||
+ | In this part, we explain how to define the Mindstorms domain model with Ecore Tools. | ||
+ | *Read the [[Sirius/Tutorials/Mindstorms/DomainModel | detailed script]] | ||
+ | *Watch the [https://youtu.be/3rnBmG4DN4w video] (12'46) | ||
+ | |||
+ | |||
+ | [[File:MindstormsVideo2.png|link=https://youtu.be/3rnBmG4DN4w]] | ||
+ | |||
+ | |||
+ | ===Visualization Tool=== | ||
+ | In this part, we explain how to create a diagram to graphically visualize the instructions of a choreography. | ||
+ | *Read the [[Sirius/Tutorials/Mindstorms/VisualizationTool | detailed script]] | ||
+ | *Watch the [https://youtu.be/hOU62wf3bYs video] (22'02) | ||
+ | |||
+ | |||
+ | [[File:MindstormsVideo3.png|link=https://youtu.be/hOU62wf3bYs]] | ||
+ | |||
+ | |||
+ | ===Container and Edition Tools=== | ||
+ | In this video, we explain how to create containers and add navigation and creation tools. | ||
+ | *Read the [[Sirius/Tutorials/Mindstorms/EditionTools| detailed script]] | ||
+ | *Watch the video [https://youtu.be/MlRdRsLic_k video] (18'25) | ||
+ | |||
+ | |||
+ | [[File:MindstormsVideo4.png|link=https://youtu.be/MlRdRsLic_k]] | ||
− | + | ===Properties Views=== | |
+ | In this video, we explain how to customize the properties views. | ||
+ | *Read the [[Sirius/Tutorials/Mindstorms/PropertiesViews | detailed script]] | ||
+ | *Watch the video [https://youtu.be/iHtmL-PKT8c video] (16'45) | ||
− | |||
+ | [[File:MindstormsVideo5.png|link=https://youtu.be/iHtmL-PKT8c]] | ||
− | + | ==Resources== | |
− | * [ | + | ===Icons and images=== |
+ | * Domain model icons: [https://eclipse.org/sirius/resources/mindstorms-tutorial/icons-metamodel.zip icons-metamodel.zip] | ||
+ | * Diagram images: [https://eclipse.org/sirius/resources/mindstorms-tutorial/icons-designer.zip icons-designer.zip] | ||
− | * [ | + | ===Services=== |
+ | * File containing the methods declarations: [https://eclipse.org/sirius/resources/mindstorms-tutorial/methods.txt methods.txt]. | ||
− | * [ | + | ===Sample model=== |
+ | * Mindstorms sample model: [https://eclipse.org/sirius/resources/mindstorms-tutorial/sample.zip sample.zip] | ||
− | * [[ | + | ===Solutions=== |
+ | * Domain Model: [https://eclipse.org/sirius/resources/mindstorms-tutorial/solution1.zip solution1.zip] | ||
+ | * Visualization Tool: [https://eclipse.org/sirius/resources/mindstorms-tutorial/solution2.zip solution2.zip] | ||
+ | * Container and edition Tools: [https://eclipse.org/sirius/resources/mindstorms-tutorial/solution3.zip solution3.zip] | ||
+ | * Properties Views: [https://eclipse.org/sirius/resources/mindstorms-tutorial/solution4.zip solution4.zip] |
Latest revision as of 08:16, 24 June 2021
Contents
Mindstorms Robot Tutorial
- Authors:
- Sirius version
- This tutorial has been produced with Obeo Designer 11.0 which includes Sirius 6.0.1.
- Questions
- If you need help about this tutorial, please post your question on Sirius forum
Overview
This tutorial explains how to use Eclipse Sirius to create a graphical modeling tool for a Mindstorms Robot.
This tool allows the user to graphically define a set of basic instructions (that we call a Choreography) that the Robot can execute: Go forward, Rotate, Grab an object, Release an object. A choreography can also be composed of other choreographies.
Contents
The tutorial is composed of five parts.
Introduction
In this part, we explain the objectives of the tutorial and some basics about EMF and Sirius concepts.
- Read the detailed script
- Watch the video (3'03)
Domain Model
In this part, we explain how to define the Mindstorms domain model with Ecore Tools.
- Read the detailed script
- Watch the video (12'46)
Visualization Tool
In this part, we explain how to create a diagram to graphically visualize the instructions of a choreography.
- Read the detailed script
- Watch the video (22'02)
Container and Edition Tools
In this video, we explain how to create containers and add navigation and creation tools.
- Read the detailed script
- Watch the video video (18'25)
Properties Views
In this video, we explain how to customize the properties views.
- Read the detailed script
- Watch the video video (16'45)
Resources
Icons and images
- Domain model icons: icons-metamodel.zip
- Diagram images: icons-designer.zip
Services
- File containing the methods declarations: methods.txt.
Sample model
- Mindstorms sample model: sample.zip
Solutions
- Domain Model: solution1.zip
- Visualization Tool: solution2.zip
- Container and edition Tools: solution3.zip
- Properties Views: solution4.zip