Hi guys,
I'm developing a simulated scenario that is quite large in terms of distances, i.e. in the order of thousands of kilometers.
To do so, in the network definition I'm using the bgu tag to set the unit of measurement to km.
Then I'm specifying the position of nodes:
- within the same NED in terms of Km;
- within the ini file using mobility parameters (thus specifying the unit of measurement)
When I run the simulation in visual mode (either tkenv or qtenv) only the positions that were set via ini are expressed in km, and nodes are thus not displayed correctly.
In other words, the background is small and contains only the nodes whose position is defined via ned, whereas the others are "far far away". (please see the figure in attachment)
Here is a small example of the code I'm using.
[In Ned]
network LargeNetwork
{
@display("bgb=4000,2900;bgu=km");
submodules:
core: Router {
@display("p=414,852");
}
genericGround: GenericGround {
@display("p=166,534");
}
station1: Station {
@display("p=1,1");
}
[ ... ]
}
[In .ini]
*.station1.mobility.initFromDisplayString = false
*.station1.mobility.initialX = 1700 km
*.station1.mobility.initialY = 600 km
*.station1.mobility.initialZ = 0 km