Skip to content

Commit

Permalink
showcases: fix: renamed NED files and networks to be more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgeorge309 committed Sep 2, 2022
1 parent 1427d0e commit e712099
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package inet.showcases.mobility.basic;
import inet.node.inet.StandardHost;
import inet.visualizer.common.IntegratedVisualizer;

network MobilityShowcase
network BasicMobilityShowcase
{
parameters:
int numHosts;
Expand Down
9 changes: 1 addition & 8 deletions showcases/mobility/basic/omnetpp.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[General]
#abstract-config = true (requires omnet 6)
network = BasicMobilityShowcase

image-path = "/home/user/Integration/inet/showcases/general/simpleMobility"

Expand All @@ -19,15 +20,13 @@ image-path = "/home/user/Integration/inet/showcases/general/simpleMobility"
**.constraintAreaMaxZ = 0m

[Config LinearMobility]
network = MobilityShowcase

*.numHosts = 7

*.host[*].mobility.typename = "LinearMobility"
**.mobility.speed = 40mps

[Config CircleMobility]
network = MobilityShowcase

*.numHosts = 2

Expand All @@ -46,7 +45,6 @@ network = MobilityShowcase
*.host[1].mobility.startAngle = 270deg

[Config TurtleMobility]
network = MobilityShowcase

*.numHosts = 2

Expand All @@ -56,7 +54,6 @@ network = MobilityShowcase
*.host[1].mobility.turtleScript = xmldoc("config2.xml")

[Config FacingMobility]
network = MobilityShowcase

*.numHosts = 7

Expand Down Expand Up @@ -93,7 +90,6 @@ network = MobilityShowcase
*.host[6].mobility.initialZ = 0m

[Config GaussMarkovMobility]
network = MobilityShowcase

*.numHosts = 7

Expand All @@ -107,15 +103,13 @@ network = MobilityShowcase
**.mobility.alpha = 0

[Config StaticGridMobility]
network = MobilityShowcase

*.numHosts = 7

*.*host[*].mobility.typename = "StaticGridMobility"
*.*host[*].mobility.numHosts = 7

[Config StationaryMobility]
network = MobilityShowcase

*.numHosts = 3

Expand All @@ -136,7 +130,6 @@ network = MobilityShowcase
*.host[2].mobility.initialHeading = 180deg

[Config BonnMotionMobility]
network = MobilityShowcase

*.numHosts = 2

Expand Down
10 changes: 5 additions & 5 deletions showcases/mobility/combining/omnetpp.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ image-path = "/home/user/Integration/inet/showcases/general/compoundMobility"
**.constraintAreaMaxZ = 0m

[Config Attached1]
network = MobilityShowcase
network = CombiningMobilityShowcase

*.numHosts = 4

Expand All @@ -39,7 +39,7 @@ network = MobilityShowcase
*.host[3].mobility.offsetHeading = 45deg

[Config Attached2]
network = MobilityShowcase
network = CombiningMobilityShowcase

*.numHosts = 5

Expand All @@ -63,7 +63,7 @@ network = MobilityShowcase
*.host[4].mobility.offsetHeading = -180deg

[Config Superpositioning1]
network = MobilityShowcase
network = CombiningMobilityShowcase

*.numHosts = 1

Expand Down Expand Up @@ -92,7 +92,7 @@ network = MobilityShowcase
**.mobility.element[1].constraintAreaMaxZ = 0m

[Config Superpositioning2]
network = MobilityShowcase
network = CombiningMobilityShowcase

*.numHosts = 2

Expand Down Expand Up @@ -200,7 +200,7 @@ sim-time-limit = 10000s
*.visualizer.*.mobilityVisualizer[1].orientationFillColor = "yellow"

[Config Attached3D]
network = MobilityShowcase
network = CombiningMobilityShowcase

*.numHosts = 2

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import inet.node.inet.StandardHost;
import inet.visualizer.common.IntegratedVisualizer;


network MobilityShowcase
network SpatialMobilityShowcase
{
parameters:
int numHosts;
Expand Down
2 changes: 1 addition & 1 deletion showcases/mobility/spatial/omnetpp.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[General]
network = MobilityShowcase
network = SpatialMobilityShowcase
#abstract-config = true (requires omnet 6)

# scene visualization
Expand Down

0 comments on commit e712099

Please sign in to comment.