o!secour software and project

27
O!secour Software and Project 1/27 Mr THIVEUX Gareth Mr TEXIER Aurélien Mr GRAIGNIC Guillaume Mr HAVEZ Maxime 3INFO – G2.2 With the help and support of : Mr CAMILLERAPP Jean Mr LE LAGADEC Pierre Mr LE GUILLOU Xavier Practical Studies 3INFO Year 2009-2010 December, 15th INSA Rennes

Upload: martha

Post on 23-Feb-2016

17 views

Category:

Documents


0 download

DESCRIPTION

O!secour Software and Project. Mr THIVEUX Gareth Mr TEXIER Aurélien Mr GRAIGNIC Guillaume Mr HAVEZ Maxime 3INFO – G2.2. Practical Studies 3INFO Year 2009-2010 December, 15th INSA Rennes. 1 /27. With the help and support of : Mr CAMILLERAPP Jean Mr LE LAGADEC Pierre - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: O!secour Software  and  Project

O!secour Software and Project

1/27

Mr THIVEUX GarethMr TEXIER AurélienMr GRAIGNIC GuillaumeMr HAVEZ Maxime

3INFO – G2.2

With the help and support of : Mr CAMILLERAPP JeanMr LE LAGADEC PierreMr LE GUILLOU Xavier

Practical Studies 3INFOYear 2009-2010December, 15thINSA Rennes

Page 2: O!secour Software  and  Project

• Project• Partnership• Software

Project & Software

• Map Editor• Track Editor

Map and Track Editor

• Runners management• Map visualisation

Run application

• Means• Experiences and project• Advice• Our Knowledge• Solution

Means

Conclusion

Introduction

2/27

Table of Contents

Page 3: O!secour Software  and  Project

• A family of sports• To navigate from point to point

and find control points

• Currently no solution to follow on foot, runners on a small zone

… Orienteering

3/27

Introduction

Page 4: O!secour Software  and  Project

• Name : O!Secour• 2005• Pierre Le Lagadec, Xavier Le Guillou

The Idea

• Teacher far from students• Lost students, injuries• Only 2h of P.E. per week• Individual or collective report => impossible

An answer to a need

• Easy tool• Real-time individual and collective safe follow-up• Easy, quick and efficient report

Conclusion

4/27

1. Project & Software1.1 A Project was born …

Page 5: O!secour Software  and  Project

• In charge of the electronical part of the system :

• CM : A self-powered portable unit, used by the teacher at the departure/arrival of the race (cm = centrale mobile)

• ERPI : 16 to 24 individual portable transceivers (erpi = émetteurs/récepteurs portatifs individuels)

• ORP : A tool to check control points (orp = outil de relevé pour les postes)

BTS Students from Lycée Reaumur, in Laval

5/27

1. Project & Software1.2 Partnership with BTS Students

Page 6: O!secour Software  and  Project

Map Editor

Track Editor Run

JPEG,BMP, …

1. Project & Software1.3 O!Secour software - overview

6/27

Page 7: O!secour Software  and  Project

Map Editor

Track Editor Run

JPEG,BMP, …

2. Map and track editor2.1 Map editor (1)

7/27

Page 8: O!secour Software  and  Project

8/27

2. Map and track editor2.2 Map editor (2)

Page 9: O!secour Software  and  Project

• to convert an existing map into a located map

Aim

• a click on the map to define a point• GPS coordinates input (related to the point)• deletion of a point which has already been created• modification of already input coordinates

Basic operations

• image size• format

Input, an image file

9/27

2. Map and track editor2.2 Map editor (3)

Page 10: O!secour Software  and  Project

• a map as an image• an XML file which defines GPS coordinates

Outputs (editor returns)

• <map name="STR">• <picture name="STR" width="INT" height="INT"/>• <topleft x="GPS_COORD" y="GPS_COORD"/>• <bottomright x="GPS_COORD" y="GPS_COORD"/>• </map>

XML Schema (Grammar used)

10/27

2. Map and track editor2.2 Map editor (4)

Page 11: O!secour Software  and  Project

Map Editor

Track Editor Run

JPEG,BMP, …

.OSC

2. Map and track editor2.3 Track editor (1)

11/27

Page 12: O!secour Software  and  Project

12/27

2. Map and track editor1.3 Track editor (2)

Page 13: O!secour Software  and  Project

• Create a track (with a start point, control points and eventually a finish point)

• Create an ideal track (graphically) and give an estimation of the associated distance

Aims

• An XML file• A map as an image file

Inputs (generated by the map editor)

13/2313/27

2. Map and track editor1.3 Track editor (3)

Page 14: O!secour Software  and  Project

• adding of a point (start or control point)• point or indications (related to a control point) modification• point deletion

Main operations

• an XML file• a BMP file

Outputs

14/27

2. Map and track editor1.3 Track editor (4)

Page 15: O!secour Software  and  Project

• <track name="STR">• <sourcemap name="STR"/>• <start x="GPS_COORD" y="GPS_COORD"/>• <markset>• <mark id="NUM" x="GPS_COORD" y="GPS_COORD"

indic="STR"/>• ...• </markset>• </track>

XML Schema (Grammar used)

15/27

2. Map and track editor1.3 Track editor (5)

Page 16: O!secour Software  and  Project

Map Editor

Track Editor Run

JPEG,BMP, ...

.OSC .OSP

3. Run application3.1 O!Secour software

16/27

Page 17: O!secour Software  and  Project

17/27

3. Run application3.2 Overview

Page 18: O!secour Software  and  Project

Real visual heart of the project

Application has to :

• Save runners’ data• Manage chronometer• Display positions/tracks• Display messages from runners• Allow the teacher to send messages to runners

18/27

3. Run application3.3 Specifications

Page 19: O!secour Software  and  Project

19/27

3. Run application3.4 Interface details and functionalities (1)

Page 20: O!secour Software  and  Project

Race visualisation :• Race generated by race

editor with its control points

• Runners represented by a colored square and the runner’s name or ERPI

• Tracks followed by runners and the ideal track

• Data saved for a debriefing application

20/27

3. Run application3.4 Interface details and functionalities (2)

Page 21: O!secour Software  and  Project

• An XML file that describes the race• Another XML file giving a description of the map• The map itself as an image file

Inputs

• A new XML file to generate statistics on runners, on their performances, etc.

Outputs

21/27

3. Run application3.5 Input/Output statements

Page 22: O!secour Software  and  Project

Previous experiences

Advice Our

knowledge

Brainstorming

Solutions

22/27

4. Means4.1 Introduction

Page 23: O!secour Software  and  Project

Mr Le Lagadec’spresentation

• Global vision• Software• Language used : Tcl-tk

Xavier Le Guillou’s point of view

• Tcl : Scripting language

• Tk extension : Graphical interface

• Coding : Code written by hand

(Mr Le Guillou) Use of a code generator

(student)

Why did they choose to use this scripting language ???23/27

4. Means4.2 Experiences and the Project

Page 24: O!secour Software  and  Project

Advantages : • Tk extension : easy

to use • Tcl : handheld• The “event loop” !

Disadvantages :• Learn a new Language

What are the other characteristics ?

> Our own research work

24/27

4. Means4.3 Advice

Page 25: O!secour Software  and  Project

Learned at INSA :

- Java

- Perl Scripting language

- C language

Some researches :

- TCL : Tool Command Language John Ousterhout , 1988 - Interpreters : Tclsh and wish

- Analysed some scripts

25/27

4. Means4.4 Our Knowledge

Page 26: O!secour Software  and  Project

Code generator ?

• Program by ourselves : Educational experience

Language

• TCL-TK : the best alternative

• Mr. Le Guillou ?• Wiki

26/27

4. Means4.5 Solution

Page 27: O!secour Software  and  Project

An existing Project

Use previous applications

Our work Real-time

application

SolutionTCL-TK

Same interface

Conclusion

27/27