Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Sirius/Tutorials/Mindstorms"
(→Icons and images) |
|||
(27 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[Sirius | + | [[Category:Sirius]] |
+ | =Mindstorms Robot Tutorial= | ||
− | + | ==Overview== | |
− | + | This tutorial explains how to use Eclipse Sirius to create a graphical modeling tool for a Mindstorms Robot. | |
− | [[Sirius/Tutorials/Mindstorms/ | + | [[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. | ||
+ | |||
+ | [[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: [http://eclipse.org/sirius/resources/mindstorms-tutorial/icons-metamodel.zip icons-metamodel.zip] | ||
+ | * Diagram images: [http://eclipse.org/sirius/resources/mindstorms-tutorial/icons-metamodel.zip icons-designer.zip] | ||
+ | |||
+ | ===Services=== | ||
+ | * File containing the methods declarations: [http://eclipse.org/sirius/resources/mindstorms-tutorial/methods.txt methods.txt]. | ||
+ | |||
+ | ===Sample model=== | ||
+ | * Mindstorms sample model: [http://eclipse.org/sirius/resources/mindstorms-tutorial/sample.zip sample.zip] | ||
+ | |||
+ | ===Solutions=== | ||
+ | * Domain Model: [http://eclipse.org/sirius/resources/mindstorms-tutorial/solution1.zip solution1.zip] | ||
+ | * Visualization Tool: [http://eclipse.org/sirius/resources/mindstorms-tutorial/solution2.zip solution2.zip] | ||
+ | * Container and edition Tools: [http://eclipse.org/sirius/resources/mindstorms-tutorial/solution3.zip solution3.zip] | ||
+ | * Properties Views: [http://eclipse.org/sirius/resources/mindstorms-tutorial/solution4.zip solution4.zip] |
Revision as of 13:00, 13 September 2018
Contents
Mindstorms Robot Tutorial
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