VANET Simulation Using SUMO and OpenStreetMap - NS2 Tutorial # 17

VANET Simulation Using SUMO and OpenStreetMap - NS2 Tutorial # 17

Engineering Clinic

8 лет назад

27,772 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@1theblacksheep
@1theblacksheep - 01.06.2017 01:22

I did everything , but after generate the TCL when i'll running on NS i got that error:

num_nodes is set 23
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
Starting Simulation...
SORTING LISTS ...DONE!
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
ns: _o356 setdest 2000.14 1530.29 5.47:
(_o356 cmd line 1)
invoked from within
"_o356 cmd setdest 2000.14 1530.29 5.47"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o356" line 2)
(SplitObject unknown line 2)
invoked from within
"_o356 setdest 2000.14 1530.29 5.47"

its happen with scenarios!! what can i do??? please somebody help me!

Ответить
@kalsooms8445
@kalsooms8445 - 16.07.2017 04:15

i have an error while installing sumo.0.25.0 like this what does this mean

mv: missing destination file operand after ‘sumo-0.25.0/usr/local/src’
Try 'mv --help' for more information.

Ответить
@kalsooms8445
@kalsooms8445 - 16.07.2017 05:22

utks@utks-virtual-machine:/usr/local/src/sumo-0.25.0$ sudo ./configure --with-fox-includes=/usr/include/fox-1.6 \ --with-gdal-includes=/usr/include/gdal --with-proj-libraries=/usr \ --with-gdal-libraries=/usr --with-proj-gdal
configure: error: invalid variable name: ` --with-gdal-includes'

Ответить
@JokerMaster61
@JokerMaster61 - 06.09.2017 23:40

Thank you sir I follow the video using a Sumo simulation I have but when put this:
$ ns project.tcl
I get this error:
num_nodes is set 85
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
Starting Simulation...
SORTING LISTS ...DONE!
ns: _o86 setdest 791.86 693.0 6.04:
(_o86 cmd line 1)
invoked from within
"_o86 cmd setdest 791.86 693.0 6.04"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o86" line 2)
(SplitObject unknown line 2)
invoked from within
"_o86 setdest 791.86 693.0 6.04"

Can you please help me, I don't know what is going on.

Ответить
@margipatel2014
@margipatel2014 - 02.11.2017 01:11

Can you suggest me how to open kml file in sumo simulator ??

Ответить
@dannytierra8663
@dannytierra8663 - 19.11.2017 21:01

hi, please help me with the information of versions the software (ubuntu, ns2 y SUMO) because have some mistakes and can be the versions

Ответить
@kalsooms8445
@kalsooms8445 - 07.12.2017 17:47

sir when i run a command import SUMO_HOME=home/user/sumo-0.30.0/sum0/ and then $SUMO_HOME/ it show no such file or directory exist what should i do for this problem

Ответить
@kalsooms8445
@kalsooms8445 - 07.12.2017 18:06

how i can export the path SUMO_HOME??????????

Ответить
@vinothenicoumar9865
@vinothenicoumar9865 - 13.12.2017 17:58

its very easy to understand and implement sir thank u

Ответить
@ibrahimnasidi6852
@ibrahimnasidi6852 - 25.12.2017 21:12

Thank you so much sir, please can you make video on how to detect the DoS attack on VANETs?

Ответить
@imak2363
@imak2363 - 11.08.2018 08:40

Hello sir
i have created tcl file from openstreet map. after running the tcl file, the following error occured.

/vanet$ ns uttara.tcl
num_nodes is set 47
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
Starting Simulation...
ns: _o14 setdest 1774.28 2170.28 0.00:
(_o14 cmd line 1)
invoked from within
"_o14 cmd setdest 1774.28 2170.28 0.00"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o14" line 2)
(SplitObject unknown line 2)
invoked from within
"_o14 setdest 1774.28 2170.28 0.00"

please help me sir

Ответить
@suhaibkhan4956
@suhaibkhan4956 - 11.11.2018 15:04

thankyou sir, but how to add traffic lights on the map..

Ответить
@KamalBYTE
@KamalBYTE - 28.12.2018 15:48

Sr c programming etho question upload pannurenu sonningle sr

Ответить
@salmanimtiaz7115
@salmanimtiaz7115 - 06.03.2019 04:47

Hi, when trying to convert osm to xml using
netconvert --osm-files "my_file_name".osm -o "my_file_name".net.xml


it gives error: White space expected in file 'built in type map' at line/column 2/50. The types could not be loaded from 'built in type map'. Quitting (on error)


Any idea what does it means, I am unable to I find solution for this online

Ответить
@malavikasuresh1533
@malavikasuresh1533 - 02.04.2019 07:34

sir
when i did the same as you did in the video for converting osm file to xml file i got the following error.
netconvert--osm-files vanet.osm-o vanet.net.xml
netconvert--osm-files: command not found
pls help me in correcting the error.

Ответить
@captaincaptainn7030
@captaincaptainn7030 - 17.04.2019 15:24

pleas help me sir :1. How to add a Sybil attack in AODV protocol in ns2….. VANET

Ответить
@prateekgupta3233
@prateekgupta3233 - 01.05.2019 13:51

That was a really helpful video.

Ответить
@PrasantMohanty_it
@PrasantMohanty_it - 11.05.2019 13:34

Sir,

while converting to net.xml file,I am getting this below error--
prasant@prasant-Lenovo-S510:~/guindy$ netconvert --osm-files guindy.osm -o guindy.net.xml
Error: Could not open types-file '/home/Downloads/sumo-0.32.0//data/typemap/osmNetconvert.typ.xml'.
Quitting (on error).
prasant@prasant-Lenovo-S510:~/guindy$
Please suggest, how to fix this problem

Ответить
@vibhaoberoi2476
@vibhaoberoi2476 - 02.06.2019 17:11

I have done same as done in video but not able to see my nodes..only one node is visible..can u plz help

Ответить
@tiagorocha3367
@tiagorocha3367 - 05.06.2019 02:22

Hello sir.
How to set an exact area size?
For example 1800 m x 780 m.
Thank you very much.

Ответить
@ayenezinabie9511
@ayenezinabie9511 - 23.09.2019 14:40

hi every budy, would you tell me how to add RSU on tcl files (eg. file.tcl) on vanet vehicular movment?

Ответить
@edivaldopastorivalentini2600
@edivaldopastorivalentini2600 - 27.09.2019 18:49

Hi Pradeep friend!
Much good your´s videos, i with learning theys.

Ответить
@phedrazriba2180
@phedrazriba2180 - 14.10.2019 22:45

Any solution for this problem 'unknown option '--fcd-output''

Ответить
@phedrazriba2180
@phedrazriba2180 - 04.11.2019 10:39

need help

ns gafsa.tcl
num_nodes is set 41
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
couldn't read file "mobility.tcl": no such file or directory
while executing
"source.orig mobility.tcl"
(file "gafsa.tcl" line 72)

Ответить
@saraha.2827
@saraha.2827 - 03.12.2019 13:16

Hello sir, I want to ask, if i want to make routing protocol using ns2 and implemented in sumo, which one should i build first, the configuration in ns2 or environment in SUMO? And do you have implementation of AOMDV routing protocol in ns2? Thanks before.

Ответить
@sowmyakudva9145
@sowmyakudva9145 - 02.02.2020 07:00

Hello Sir, this lecture is really helpful for students like us. Thank you very much


I am trying to perform the above experiment with my choice of map with Sumo 1.2.x version. However, i followed exactly the same steps as yours.
But when I run, my final .tcl file, i get below error.
num_nodes is set 19
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
Starting Simulation...
SORTING LISTS ...DONE!
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
ns: _o122 setdest 486.09 512.03 13.94:
(_o122 cmd line 1)
invoked from within
"_o122 cmd setdest 486.09 512.03 13.94"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o122" line 2)
(SplitObject unknown line 2)
invoked from within
"_o122 setdest 486.09 512.03 13.94"




Would you be able to help me figure out the issue here? Although this error occurs, it creates .nam file. But I think because of this error , my source node is not moving in the animation file. It is stagnant at one place from start to end. Your response is much appreciated !! thanks again

Ответить
@bibekanandasahoo7964
@bibekanandasahoo7964 - 06.03.2020 07:41

Sir i have a problem in move while creating map can you help me please

Ответить
@keerthivasanmanavalan6145
@keerthivasanmanavalan6145 - 25.03.2020 20:10

Sir
While porting the program to ns2 I get the error
"Couldn't read file "mobility.tcl" : no such file or directory "
Even though there is mobility.tcl file in the guindy folder
Why?

Ответить
@tashjiamalik2294
@tashjiamalik2294 - 27.06.2020 19:16

I want to do these simulations in ns3 is this possible?

Ответить
@yashwanthdama2550
@yashwanthdama2550 - 30.11.2020 14:59

Sir can I have your mail id?

Ответить
@vineethsubramaniamj7726
@vineethsubramaniamj7726 - 07.12.2020 13:18

Sir, I want to set the values of Inter Transmit Time(ITT) and Radiated Power(RP) according to Adaptive joint Rate-Power control Algorithm. Where can I access those parameters? Also, in which file should I include the necessary code for this algorithm?
Thanks in advance!

Ответить
@dekarachmad
@dekarachmad - 12.12.2020 10:14

sir, can you make video vanet with protocol GSR?

Ответить
@rajeshwarim6631
@rajeshwarim6631 - 17.01.2021 18:48

Thank you sir, for this simple explanation. It is really useful. Can you please provide some information about simulating RSUs and vehicle to RSU communication in NS-2?

Ответить
@jalwakp3921
@jalwakp3921 - 14.05.2021 15:29

Sir, Is it possible to extract speed from the sumo output file to ns2

Ответить
@MwangiWangarij
@MwangiWangarij - 24.08.2021 13:43

Can one perform this with windows and not Ubuntu?

Ответить
@sabrinebelmekki2126
@sabrinebelmekki2126 - 13.10.2021 14:46

thank you, can you make a video about how to add RSU on the road please ?

Ответить
@sabrinebelmekki2126
@sabrinebelmekki2126 - 13.10.2021 17:32

i am using NS3, and when i write down ns in command it tells me to install NS2. What can i do ?

Ответить
@hanadidarwisho4749
@hanadidarwisho4749 - 11.11.2021 22:06

Thanks ...

Ответить
@FarhanJaved
@FarhanJaved - 24.01.2022 01:50

Sir, How can I change the language of openstreet map?

Ответить
@xianfeizhang9284
@xianfeizhang9284 - 03.05.2022 10:32

Hi sir, if i use NS2 to simulate the MAC protocol in VANET, which software is more convenient than OPNET simulation? If you have any suggestion or an example please could you share me? Thanks!

Ответить
@AchyuthS.S.
@AchyuthS.S. - 12.06.2024 12:30

netconvert: command not found

Ответить
@niharikasingh6473
@niharikasingh6473 - 19.10.2024 05:52

Hlw sir I need your help sir

Ответить
@niharikasingh6473
@niharikasingh6473 - 04.11.2024 05:45

Hlw sir I need ur help

Ответить