o!secour software and project
Post on 23-Feb-2016
15 Views
Preview:
DESCRIPTION
TRANSCRIPT
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
• 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
• 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
• 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 …
• 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
Map Editor
Track Editor Run
JPEG,BMP, …
1. Project & Software1.3 O!Secour software - overview
6/27
Map Editor
Track Editor Run
JPEG,BMP, …
2. Map and track editor2.1 Map editor (1)
7/27
8/27
2. Map and track editor2.2 Map editor (2)
• 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)
• 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)
Map Editor
Track Editor Run
JPEG,BMP, …
.OSC
2. Map and track editor2.3 Track editor (1)
11/27
12/27
2. Map and track editor1.3 Track editor (2)
• 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)
• 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)
• <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)
Map Editor
Track Editor Run
JPEG,BMP, ...
.OSC .OSP
3. Run application3.1 O!Secour software
16/27
17/27
3. Run application3.2 Overview
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
19/27
3. Run application3.4 Interface details and functionalities (1)
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)
• 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
Previous experiences
Advice Our
knowledge
Brainstorming
Solutions
22/27
4. Means4.1 Introduction
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
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
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
Code generator ?
• Program by ourselves : Educational experience
Language
• TCL-TK : the best alternative
• Mr. Le Guillou ?• Wiki
26/27
4. Means4.5 Solution
An existing Project
Use previous applications
Our work Real-time
application
SolutionTCL-TK
Same interface
Conclusion
27/27
top related