forked from Project-GrADyS/gradys-simulations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mobilityDronesMAM.ned
64 lines (52 loc) · 1.7 KB
/
mobilityDronesMAM.ned
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
package projeto;
import inet.common.geometry.common.OsgGeographicCoordinateSystem;
import inet.environment.common.PhysicalEnvironment;
import inet.environment.ground.FlatGround;
import inet.node.inet.AdhocHost;
import inet.visualizer.integrated.IntegratedVisualizer;
import inet.mobility.contract.IMobility;
import inet.mobility.static.StationaryMobility;
import inet.networklayer.configurator.ipv4.Ipv4NetworkConfigurator;
import inet.node.ethernet.Eth100M;
import inet.node.inet.SensorNode;
import inet.node.inet.StandardHost;
import inet.node.inet.WirelessHost;
import inet.physicallayer.common.packetlevel.RadioMedium;
import inet.visualizer.integrated.IntegratedMultiVisualizer;
import inet.visualizer.integrated.IntegratedVisualizer;
network mobilityDronesMAM
{
parameters:
int numUAVs = default(1);
int numSensors = default(1);
int numRelaySensors = default(3);
types:
submodules:
visualizer: IntegratedVisualizer {
parameters:
@display("p=100,50");
}
coordinateSystem: OsgGeographicCoordinateSystem {
parameters:
@display("p=100,150");
}
environment: PhysicalEnvironment {
}
configurator: Ipv4NetworkConfigurator {
@display("p=0,200");
}
radioMedium: RadioMedium {
@display("p=200,0");
}
quads[numUAVs]: MobileNodeMam {
}
sensors[numSensors]: AdhocHost {
@display("i=misc/sensor");
}
sensors_rly[numRelaySensors]: AdhocHost {
@display("i=misc/sensor");
}
groundStation: GroundStation {
@display("i=misc/sensor3");
}
}