veins/ 0000775 0001750 0001750 00000000000 12542261576 012012 5 ustar eckhoff eckhoff veins/.oppbuildspec 0000664 0001750 0001750 00000000727 12542235764 014512 0 ustar eckhoff eckhoff
veins/Makefile 0000664 0001750 0001750 00000003620 12542235151 013441 0 ustar eckhoff eckhoff .PHONY: all makefiles clean cleanall doxy
# if out/config.py exists, we can also create command line scripts for running simulations
ADDL_TARGETS =
ifeq ($(wildcard out/config.py),)
else
ADDL_TARGETS += run debug memcheck
endif
# default target
all: src/Makefile $(ADDL_TARGETS)
@cd src && $(MAKE)
# command line scripts
run debug memcheck: % : src/scripts/%.in.py out/config.py
@echo "Creating script \"./$@\""
@head -n1 "$<" > "$@"
@cat out/config.py >> "$@"
@tail -n+2 "$<" >> "$@"
@chmod a+x "$@"
# legacy
makefiles:
@echo
@echo '====================================================================='
@echo 'Warning: make makefiles has been deprecated in favor of ./configure'
@echo '====================================================================='
@echo
./configure
@echo
@echo '====================================================================='
@echo 'Warning: make makefiles has been deprecated in favor of ./configure'
@echo '====================================================================='
@echo
clean: src/Makefile
cd src && $(MAKE) clean
rm -f run debug memcheck
cleanall: src/Makefile
cd src && $(MAKE) MODE=release clean
cd src && $(MAKE) MODE=debug clean
rm -f src/Makefile
rm -f run debug memcheck
src/Makefile:
@echo
@echo '====================================================================='
@echo '$@ does not exist.'
@echo 'Please run "./configure" or use the OMNeT++ IDE to generate it.'
@echo '====================================================================='
@echo
@exit 1
out/config.py:
@echo
@echo '====================================================================='
@echo '$@ does not exist.'
@echo 'Please run "./configure" to generate it.'
@echo '====================================================================='
@echo
@exit 1
# autogenerated documentation
doxy:
doxygen doxy.cfg
doxyshow: doxy
xdg-open doc/doxy/index.html
veins/examples/ 0000775 0001750 0001750 00000000000 12542241021 013607 5 ustar eckhoff eckhoff veins/examples/80211p/ 0000775 0001750 0001750 00000000000 12542261365 014457 5 ustar eckhoff eckhoff veins/examples/80211p/config.xml 0000664 0001750 0001750 00000000701 12542243201 016431 0 ustar eckhoff eckhoff
veins/examples/80211p/memcheck 0000775 0001750 0001750 00000000036 12542235151 016152 0 ustar eckhoff eckhoff #!/bin/sh
../../memcheck "$@"
veins/examples/80211p/run 0000775 0001750 0001750 00000000031 12542235151 015175 0 ustar eckhoff eckhoff #!/bin/sh
../../run "$@"
veins/examples/80211p/SimpleScenario.ned 0000664 0001750 0001750 00000005077 12542242367 020076 0 ustar eckhoff eckhoff //
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see http://www.gnu.org/licenses/.
//
//
// Copyright (C) 2008 Christoph Sommer
//
// Documentation for these modules is at http://veins.car2x.org/
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
import org.car2x.veins.nodes.Wifi;
import org.car2x.veins.base.connectionManager.ConnectionManager;
import org.car2x.veins.base.modules.BaseWorldUtility;
network SimpleScenario
{
parameters:
double playgroundSizeX @unit(m); // x size of the area the nodes are in (in meters)
double playgroundSizeY @unit(m); // y size of the area the nodes are in (in meters)
double playgroundSizeZ @unit(m); // z size of the area the nodes are in (in meters)
@display("bgb=$playgroundSizeX,$playgroundSizeY");
submodules:
connectionManager: ConnectionManager {
parameters:
@display("p=150,0;i=abstract/multicast");
}
world: BaseWorldUtility {
parameters:
playgroundSizeX = playgroundSizeX;
playgroundSizeY = playgroundSizeY;
playgroundSizeZ = playgroundSizeZ;
@display("p=30,0;i=misc/globe");
}
node[50]: Wifi {
@display("p=150,140;b=10,10,oval");
}
connections allowunconnected:
} veins/examples/80211p/README 0000664 0001750 0001750 00000000254 12542235151 015332 0 ustar eckhoff eckhoff Veins tutorial example.
This simulation requires sumo-launchd to be started and listening for
connections on a TCP socket, e.g. using "~/src/veins/sumo-launchd.py -vv".
veins/examples/80211p/omnetpp.ini 0000664 0001750 0001750 00000005521 12542246227 016645 0 ustar eckhoff eckhoff [General]
cmdenv-express-mode = true
cmdenv-autoflush = true
cmdenv-status-frequency = 10000000s
#tkenv-default-config = debug
#tkenv-default-run = 1
tkenv-image-path = bitmaps
ned-path = .
network = SimpleScenario
##########################################################
# Simulation parameters #
##########################################################
debug-on-errors = true
print-undisposed = false
sim-time-limit = 6000s
**.scalar-recording = true
**.vector-recording = true
**.debug = false
**.coreDebug = false
*.playgroundSizeX = 6000m
*.playgroundSizeY = 6000m
*.playgroundSizeZ = 50m
##########################################################
# WorldUtility parameters #
##########################################################
*.world.useTorus = false
*.world.use2D = false
##########################################################
# 11p specific parameters #
# #
# NIC-Settings #
##########################################################
*.connectionManager.pMax = 20mW
*.connectionManager.sat = -93dBm
*.connectionManager.alpha = 2.0
*.connectionManager.carrierFrequency = 5.890e9 Hz
*.connectionManager.sendDirect = false
*.connectionManager.drawMaxIntfDist = true
*.**.nic.mac1609_4.useServiceChannel = false
*.**.nic.mac1609_4.txPower = 20mW
*.**.nic.mac1609_4.bitrate = 18Mbps
*.**.nic.phy80211p.sensitivity = -89dBm
*.**.nic.phy80211p.maxTXPower = 20mW
*.**.nic.phy80211p.useThermalNoise = true
*.**.nic.phy80211p.thermalNoise = -110dBm
*.**.nic.phy80211p.decider = xmldoc("config.xml")
*.**.nic.phy80211p.analogueModels = xmldoc("config.xml")
*.**.nic.phy80211p.usePropagationDelay = true
##########################################################
# WaveAppLayer #
##########################################################
*.node[*].applType = "SimpleWaveApp"
*.node[*].appl.debug = false
*.node[*].appl.headerLength = 256 bit
*.node[*].appl.sendBeacons = true
*.node[*].appl.dataOnSch = false
*.node[*].appl.sendData = false
*.node[*].appl.beaconInterval = 1s
*.node[*].appl.beaconPriority = 3
*.node[*].appl.dataPriority = 2
*.node[*].appl.maxOffset = 0.005s
##########################################################
# Mobility #
##########################################################
*.node[*].mobility.x = -1
*.node[*].mobility.y = -1
*.node[*].mobility.z = 1.895
*.node[*].mobility.speed = 22mps
[Config nodebug]
description = "default settings"
**.debug = false
**.coreDebug = false
*.annotations.draw = false
[Config debug]
description = "(very slow!) draw and print additional debug information"
**.debug = true
**.coreDebug = true
*.annotations.draw = true
veins/examples/80211p/debug 0000775 0001750 0001750 00000000033 12542235151 015461 0 ustar eckhoff eckhoff #!/bin/sh
../../debug "$@"
veins/examples/veins/ 0000775 0001750 0001750 00000000000 12542235151 014742 5 ustar eckhoff eckhoff veins/examples/veins/erlangen.poly.xml 0000664 0001750 0001750 00000556117 12542235151 020260 0 ustar eckhoff eckhoff
veins/examples/veins/config.xml 0000664 0001750 0001750 00000001114 12542235151 016726 0 ustar eckhoff eckhoff
veins/examples/veins/memcheck 0000775 0001750 0001750 00000000036 12542235151 016443 0 ustar eckhoff eckhoff #!/bin/sh
../../memcheck "$@"
veins/examples/veins/run 0000775 0001750 0001750 00000000031 12542235151 015466 0 ustar eckhoff eckhoff #!/bin/sh
../../run "$@"
veins/examples/veins/erlangen.launchd.xml 0000664 0001750 0001750 00000000330 12542235151 020670 0 ustar eckhoff eckhoff
veins/examples/veins/README 0000664 0001750 0001750 00000000254 12542235151 015623 0 ustar eckhoff eckhoff Veins tutorial example.
This simulation requires sumo-launchd to be started and listening for
connections on a TCP socket, e.g. using "~/src/veins/sumo-launchd.py -vv".
veins/examples/veins/omnetpp.ini 0000664 0001750 0001750 00000011246 12542235151 017131 0 ustar eckhoff eckhoff [General]
cmdenv-express-mode = true
cmdenv-autoflush = true
cmdenv-status-frequency = 10000000s
#tkenv-default-config = debug
#tkenv-default-run = 1
tkenv-image-path = bitmaps
ned-path = .
network = RSUExampleScenario
##########################################################
# Simulation parameters #
##########################################################
debug-on-errors = true
print-undisposed = false
sim-time-limit = 6000s
**.scalar-recording = true
**.vector-recording = true
**.debug = false
**.coreDebug = false
*.playgroundSizeX = 2500m
*.playgroundSizeY = 2500m
*.playgroundSizeZ = 50m
##########################################################
# Annotation parameters #
##########################################################
*.annotations.draw = false
##########################################################
# Obstacle parameters #
##########################################################
*.obstacles.debug = false
##########################################################
# WorldUtility parameters #
##########################################################
*.world.useTorus = false
*.world.use2D = false
##########################################################
# TraCIScenarioManager parameters #
##########################################################
*.manager.updateInterval = 0.1s
*.manager.host = "localhost"
*.manager.port = 9999
*.manager.moduleType = "org.car2x.veins.nodes.Car"
*.manager.moduleName = "node"
*.manager.moduleDisplayString = ""
*.manager.autoShutdown = true
*.manager.margin = 25
*.manager.launchConfig = xmldoc("erlangen.launchd.xml")
##########################################################
# RSU SETTINGS #
# #
# #
##########################################################
*.rsu[0].mobility.x = 2000
*.rsu[0].mobility.y = 2000
*.rsu[0].mobility.z = 3
*.rsu[*].applType = "TraCIDemoRSU11p"
*.rsu[*].appl.debug = false
*.rsu[*].appl.headerLength = 256 bit
*.rsu[*].appl.sendBeacons = false
*.rsu[*].appl.dataOnSch = false
*.rsu[*].appl.sendData = true
*.rsu[*].appl.beaconInterval = 1s
*.rsu[*].appl.beaconPriority = 3
*.rsu[*].appl.dataPriority = 2
*.rsu[*].appl.maxOffset = 0.005s
##########################################################
# 11p specific parameters #
# #
# NIC-Settings #
##########################################################
*.connectionManager.pMax = 20mW
*.connectionManager.sat = -89dBm
*.connectionManager.alpha = 2.0
*.connectionManager.carrierFrequency = 5.890e9 Hz
*.connectionManager.sendDirect = true
*.**.nic.mac1609_4.useServiceChannel = false
*.**.nic.mac1609_4.txPower = 20mW
*.**.nic.mac1609_4.bitrate = 18Mbps
*.**.nic.phy80211p.sensitivity = -89dBm
*.**.nic.phy80211p.maxTXPower = 10mW
*.**.nic.phy80211p.useThermalNoise = true
*.**.nic.phy80211p.thermalNoise = -110dBm
*.**.nic.phy80211p.decider = xmldoc("config.xml")
*.**.nic.phy80211p.analogueModels = xmldoc("config.xml")
*.**.nic.phy80211p.usePropagationDelay = true
##########################################################
# WaveAppLayer #
##########################################################
*.node[*].applType = "TraCIDemo11p"
*.node[*].appl.debug = false
*.node[*].appl.headerLength = 256 bit
*.node[*].appl.sendBeacons = false
*.node[*].appl.dataOnSch = false
*.node[*].appl.sendData = true
*.node[*].appl.beaconInterval = 1s
*.node[*].appl.beaconPriority = 3
*.node[*].appl.dataPriority = 2
*.node[*].appl.maxOffset = 0.005s
##########################################################
# Mobility #
##########################################################
*.node[*].veinsmobilityType = "org.car2x.veins.modules.mobility.traci.TraCIMobility"
*.node[*].mobilityType = "TraCIMobility"
*.node[*].mobilityType.debug = true
*.node[*].veinsmobilityType.debug = true
*.node[*].veinsmobility.x = 0
*.node[*].veinsmobility.y = 0
*.node[*].veinsmobility.z = 1.895
*.node[*0].veinsmobility.accidentCount = 1
*.node[*0].veinsmobility.accidentStart = 75s
*.node[*0].veinsmobility.accidentDuration = 30s
[Config nodebug]
description = "default settings"
**.debug = false
**.coreDebug = false
*.annotations.draw = false
[Config debug]
description = "(very slow!) draw and print additional debug information"
**.debug = true
**.coreDebug = true
*.annotations.draw = true
veins/examples/veins/erlangen.png 0000664 0001750 0001750 00003663007 12542235151 017262 0 ustar eckhoff eckhoff ‰PNG
IHDR [ •]{» sRGB ®Îé bKGD ùC» pHYs šœ tIMEÛ.j¥Z IDATxÚì}y|TÕù÷sî6û¾d’ÉBÈ †ÝÈ"‚‚
X÷Eé«E¬Ú_¥Õ¶ZëÒVmÝZmKTW@-
Š ";!°dO&™,³ÏÜíœ÷›LB’™,¢ òðù„™;çÞ{î¹ÏyÎó|ϳ 'NÀ`©¢¢B9=33“¦iN
…*++€a˜lÛ¶Íb±=z 8Ž›:u*BÎÑ÷…X–·ë«"g[ÇAÊÐäÉÀH €‰ð<òHIÉá•+Ÿ><ºw¯·á£ã}^JàåV¯¬1‡ŒLWëUû>ÚãHã¼õ§Ó›–¬©}²4–ñ‰ƒuaŸ_‡©ÍP‰Zzj… —ŽOtAŒq(
ƒN§3++KV÷@^z饛o¾yÓ¦MÏ>û,Ã0wÝu×%—\òå—_N™2ep#†k—×WV!=;ÜÖÌÓkaqn׃‡>/7¢ÊgYÆÞÙžé:*½k›Ýp¦ô|›ÄçW™>¼ã\¹©©iòäÉ4M‚p×]w