UML description of ROS simulation models - PowerPoint PPT Presentation

1 / 45
About This Presentation
Title:

UML description of ROS simulation models

Description:

can be readily used with Simdaq and Ptolemy ... a Simdaq or Ptolemy implementation. 10/31/09 ... Bertram Rensch's Ptolemy code. 10/31/09 ... – PowerPoint PPT presentation

Number of Views:155
Avg rating:3.0/5.0
Slides: 46
Provided by: hep2
Category:

less

Transcript and Presenter's Notes

Title: UML description of ROS simulation models


1
UML description ofROS simulation models
  • Report on work by
  • Jos Vermeulen (NIKHEF),
  • Bob Cranfield (UCL)

2
Overview
  • Recap of aims proposal
  • Intro to UML with example diagrams
  • Status of ROS model description
  • Status of ROC model description
  • Issues
  • Next steps

3
Aims
  • The goal is a method for describing ROS
    simulation models that
  • is not committed to a specific modelling tool
  • can be readily used with Simdaq and Ptolemy
  • is complete enough to include all ROS features
    that need to be modelled
  • is accessible to the ROS team members so they can
    agree on the accuracy of the model
  • Whole point is to find a common language in
    which the members of the team can discuss and
    evolve the model.

4
UML
  • Proposal is to use the UML (Unified Modelling
    Language)
  • Widely used, including in ATLAS offline
  • Designed to be easy to follow, with simple
    diagram notation
  • Books tools available

5
What is the model?
  • Need to be careful with the term model
  • A UML description is itself a model
  • Our aim is to provide a UML model of a
    discrete-event model of the ROS
  • i.e. NOT a UML model of
  • the ROS
  • the ROS software
  • a Simdaq or Ptolemy implementation

6
Note on tools
  • Together 4.2
  • free to academics
  • multi-platform
  • comprehensive diagramming
  • used in ATLAS offline
  • but memory hungry glitchy on Linux
  • Source Navigator 4.5.2
  • RedHat product
  • convenient for reverse-engineering

7
UML description
  • A UML description is shown as a series of
    diagrams, of views of the system. Diagrams refer
    to the underlying UML model.
  • UML has several types of diagram, some suited to
    real-time systems.
  • The UML is object-oriented, but intended for a
    wide range of systems.
  • UML diagrams are meant to be easy to follow

8
UML diagrams
  • use case diagram
  • class diagram
  • activity diagram
  • object diagram
  • sequence diagram
  • collaboration diagram
  • state diagram
  • component diagram
  • deployment diagram
  • entity-relationship diagram
  • business process diagram

9
Class diagram
  • The class diagram sets the context.
  • It shows the classes of the system as boxes, with
    various linkages between.
  • In Together classes are central elements, holding
    attributes operations.
  • We need an object-oriented analysis of the
    significant features of the ROS to identify
    relevant elements of a class diagram.

10
TRG (class diagram)
11
Activity diagram
  • The activity diagram shows the flow of logic
    within an operation.
  • Key elements are activities (in rounded boxes)
    and conditional branches (diamonds).

12
TRG_Task6 (activity diagram)
13
Collaboration diagram
  • The Collaboration diagram shows a snapshot of a
    set of objects, with the messages passing between
    them.
  • The messages can be e.g. actual messages or
    method calls
  • Messages initiate operations in the receiving
    objects

14
TRG_Corbo (collaboration diagram)
15
Sequence diagram
  • The Sequence diagram is an alternative
    presentation of the information in a
    Collaboration diagram.
  • It emphasises the time dimension, running
    vertically, and shows timing information.
  • Together can automatically convert between
    Sequence and Collaboration diagrams.

16
State diagram
  • The State diagram is another way of describing
    the details of an operation.
  • It shows a sub-system as a set of states, with
    transitions between them.
  • It is probably more relevant to the
    implementation phase.

17
TRG_Task6 (state diagram)
18
ROS model
  • Reverse engineering
  • of ATDF code

19
ROS default diagram
20
TRG package
21
ROB package
22
ROB (class diagram)
23
ROB_InTask (activity diagram)
24
ROB_DCTask (activity diagram)
25
ROB_TrgTask (activity diagram)
26
ROB_TrgTask (sequence diagram)
27
ROB_Local (collaboration diagram)
28
EBIF package
29
EBIF (class diagram)
30
EBIF_Task1 (activity diagram)
31
EBIF_Task2 (activity diagram)
32
EBIF_Task3 (activity diagram)
33
EBIF_Task4 (activity diagram)
34
EBIF_OutStorage (collaboration diagram)
35
IOM_sched package
36
IOM_Sched (activity diagram)
37
IOM_Sched (collaboration diagram)
38
default (class diagram)
39
ROC model
  • Reverse engineering of
  • Bertram Renschs Ptolemy code

40
ROC Class diagram
41
ROC full Collaboration diagram
42
DETRG Activity diagram
43
DEXpci Activity diagram
44
Open issues
  • Naming of attributes operations
  • Representation of i/o channels
  • Indication of time-consuming operations
  • Naming convention for diagrams
  • Maintenance of sub-set diagrams

45
Next steps
  • Complete first-draft activity, collaboration,
    sequence diagrams
  • Check diagrams with ROS team
  • Add diagrams for different ROS variants
  • Add diagrams for hardware elements
Write a Comment
User Comments (0)
About PowerShow.com