Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "Sirius/Tutorials/Mindstorms"

(Resources)
 
(26 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==
 
==Overview==
Line 5: Line 13:
 
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|800px]]
+
[[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|800px]]
+
[[File:MindstormsTool.png|600px]]
  
 +
==Contents==
 +
The tutorial is composed of five parts.
  
The principles of this tutorial are explained in this short [https://youtu.be/uKBGVwmRzi0 video] (3'02)
+
===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]]
 
  
==Tutorial parts==
+
[[File:Mindstorms-video1.png|link=https://youtu.be/uKBGVwmRzi0]]
The tutorial is composed of four parts:
+
  
* [[Sirius/Tutorials/Mindstorms/DomainModel | Domain Model]]
 
  
* [[Sirius/Tutorials/Mindstorms/VisualizationTool | Visualization Tool]]
+
===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)
  
* [[Sirius/Tutorials/Mindstorms/EdtionTools | Container and Edition Tools]]
 
  
* [[Sirius/Tutorials/Mindstorms/PropertiesViews | Properties Views]]
+
[[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

Mindstorms Robot Tutorial

  • Authors:
    • Julien Dupont - Obeo
    • Frédéric Madiot - Obeo
  • Sirius version
  • 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.

Mindstorms.png


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.

MindstormsTool.png

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.


Mindstorms-video1.png


Domain Model

In this part, we explain how to define the Mindstorms domain model with Ecore Tools.


MindstormsVideo2.png


Visualization Tool

In this part, we explain how to create a diagram to graphically visualize the instructions of a choreography.


MindstormsVideo3.png


Container and Edition Tools

In this video, we explain how to create containers and add navigation and creation tools.


MindstormsVideo4.png


Properties Views

In this video, we explain how to customize the properties views.


MindstormsVideo5.png

Resources

Icons and images

Services

  • File containing the methods declarations: methods.txt.

Sample model

Solutions

Back to the top