|
Staff
|
ns-3SetupLogin to the netsim research machine. Create a copy of the ns-3.9 source in a directory named hg clone /home/mweigle/shared/ns-3.9 (Note: This command will create the In the Test the install: 76 of 76 tests passed (76 passed, 0 skipped, 0 failed, 0 crashed, 0 valgrind errors) Run your first ns-3 program: Intro to ns3
VANET AdditionsHadi's Original CodeDownload Hadi's patch from http://ns-3-highway-mobility.googlecode.com/files/vanet-highway-aug-15.patch From your ns-3.9 directory, apply patch to add vanet-highway code: patch -p1 <vanet-highway-aug-15.patch Edit the bld.add_subdirs('vanet-highway')
Edit To test, from your ns-3.9 directory: ./waf --run "vanet-highway-test -fp=test" This should create a file named time = 1 run number = 1 number of lanes = 3 two directional = 0 lane change = 1 flow distribution = 0 flow1 = 0.5 vel1 = 29 flow2 = 0.5 vel2 = 29 transmission power = 21.5 injection gap = 5 injection mix = 80 penetration rate = 100 speed limit = 29 speed std = 1 file prefix = ./test
|