Files
openairinterface5g/openair2/UTIL/OMG
Lionel Gauthier 059a0a3fdc astyle --recursive --indent=spaces=2 --style=kr --indent-col1-comments --break-blocks --convert-tabs --max-code-length=200
This is done for better merging branch/LG_PRE_RELEASE_0.3 into trunk (same process is applied on this branch)

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7073 818b1a75-f10b-46b9-bf7c-635c3b92a50f
2015-04-09 09:29:12 +00:00
..
2014-07-22 13:43:51 +00:00
2014-08-14 07:26:42 +00:00
2014-08-14 07:26:42 +00:00

Notes: 

	The OMG module should be updated every one millisecond. This periodic update allows to check whether at the given moment there exists a node that should move (sleep_duration is elapsed) or sleep (it has already reached its destination). It allows also to compute the current position of the nodes, namely when they are in the move pahse. Therefore, to get all the nodes positions at any moment, the function get_current_positions might be used. Note that it gives the positions at the time specified by the last update_nodes function. This being said, a call to get_current_positions or get_node_position(to get the position of a specific node identified by its ID) should always be preceded by a call to update_nodes which takes for argument the desired time in milliseconds. 

	In order to avoid instability, make sure the following parameters are diffrent from zero: (min_speed, min_journey_time and min_sleep).