1 May 18th & 19th 2010, Douai
Soraya Arias Florine Boudin Roger Pissard-Gibollet Daniel Simon
CAR' 2010 Soraya Arias Florine Boudin Roger Pissard-Gibollet - - PowerPoint PPT Presentation
1 Orccad, a Model Driven Architecture and Environment for Robot Control May 18 th & 19 th 2010, Douai CAR' 2010 Soraya Arias Florine Boudin Roger Pissard-Gibollet Daniel Simon 2 Orccad : status and motivations Model: Control
1 May 18th & 19th 2010, Douai
Soraya Arias Florine Boudin Roger Pissard-Gibollet Daniel Simon
2
Model:
Tools:
V4 modeling and software development:
3
4
(SafeNecs ANR)
5
6
Feedback control action
Event based behaviour
7
Implement functions Algorithmic Phy_Resource (drivers) Typed Input/Output ports
User defined C code init(inputs) forever{ compute(inputs) } end()
8
9
See next talk!
10
Code generation
Compilation
11
Ecore Java XSD UML
12
Software
13
Orccad metamodel
14
MetaModel Model Generator The Metamodel defines how a model is made. Made by the developer. The Model is realized by the user. It matches to the meta-model and its constraints. It generates the source code from the model, using templates defined by the developer .
15
The graphical view is close to an UML model.
16
Class Code is generated in Java, we find Java properties in the Ecore model.
17
Inheritance Code generated in Java, we find Java properties in the Ecore model.
18
References
19
Editor as a plugin
this step.
20
are allowed
the code is safe.
21
22
generation of the Graphical Editor.
links
ecore and palette.
23
Graphical Interface Code :
Model, Controller and View are independent for a easier maintenance.
24
Result of a quick Graphical Interface uncluttered -> customization !
25
Example of a simple customization
26
➢ Xpand is proposed as a M2T (Model to
Text ) technology in the Eclipse Modeling Project
➢ It fits with the Ecore Metamodel ➢ Entirely customization for any type of file ➢ Templates have a simple syntax ➢ Code generator is independent from the
source code
27
Templates .xpt
Meta Model .ecore XPAND
files
Model
28
✔ Eclipse Environment ✔ Model and Code independence ✔ Extensibility/scalability ✔ Fast when technology mastered
✗ Abandoned tools ✗ Choices ✗ Technology not easy to master
29
Questions ?