README.TXT 2.08 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
----------------------------------------------------------------------------------
OpenAir Mobility Generator (OMG) - Mobility provided by trace files
----------------------------------------------------------------------------------
 The trace-driven OMG behaves as follows :
  When we have all the mobility description (the .tr file) in memory sorted in an ascending order of time for all nodes (hash table),  we load one location and we determine the travel time and we move the nodes (update_nodes and get_current_positions act here), once the node is near to the destination (journeytime - eps) next position and time is obtained. If the next time is very far from current time then we put the node to sleep till the next start time.

Notes: 

  - The OMG/TRACE folder is the default folder for OAI and OMG to load mobility
    files. Please place all your files on that folder.

  - OMG TRACE support mobility input given in the following format:

14
       EXPECTED_TIME(s) NODE_ID NODE_POS_X NODE_POS_Y NODE_SPEED(m/s)
15
   
16
17
18
19
20
21
22
23
24
 Notes: 
    1) OMG uses the speed (NODE_SPEED) at this time (TIME) from this position (NODE_POS_X,NODE_POS_Y) for this NODE_ID 
    2) each input may be ordered (in time) or not
    3) early arrivals at each points cause a sleep for a duration of the time difference
    4) late arrivals for each points cause nothing (no jump), the point will be reached later in time. 
    5) all the points will be reached based on their expected times.
    6) if the first expected time is greater than zero, then the node will be in a pause state at the initial position for the duration of the expected time
    7)  The mobility described in the mobility file strictly follows the simulation time, only condition where it doesn't follow is, when a node fails to reach its next point (in time) from where it has to start next journey.
    8) the speed for the last expected time is ignored
25
26
27
28
29
 
----------------------------------------------------------------------------------
The OpenAirInterface Team 
openair_tech@eurecom.fr
----------------------------------------------------------------------------------