Files
openairinterface5g/openair2/UTIL/OMG
Robert Schmidt 6ae4ec37ca Remove most doxygen file-level commands, copyrights, and authors
Remove the \file directive, as it is always superfluous  because the
current file is implicit [1]:

> If the file name is omitted (i.e. the line after \file is left blank)
> then the documentation block that contains the \file command will belong
> to the file it is located in.

Author names and e-mails are not relevant for us: it can always be
inferred from git blame, and is often outdated.

Eurecom code has been contributed and was under OAI PL v1.0/v1.1.

For the cpack package contact: put generic email address that is
independent of an individual and that will remain reachable.

[1] https://www.doxygen.nl/manual/commands.html#cmdfile
2026-03-27 14:52:47 +01:00
..
2019-01-07 16:22:28 +01:00
2022-06-28 09:38:48 +02:00
2019-01-07 16:22:28 +01:00
2019-01-07 16:22:28 +01:00
2019-01-07 16:22:28 +01:00
2019-01-07 16:22:28 +01:00
2019-01-07 16:22:28 +01:00
2019-01-07 16:22:28 +01:00
2019-01-07 16:22:28 +01:00
2019-01-07 16:22:28 +01: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).