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?
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!
I did not know much about OPNET as its a proprietry one... But NS2 or NS3 really do well for Mac Protocol simulations... There are many MAC protocol support in ns3 and as well as in ns2. I suggest you to work more on ns3 rather than ns2...
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.
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!
dear when i run command python /home/sumo/sumo-0.25.0/tools/randomTrips.py -n multan.net.xml -r multan.rou.xml -e 100 -l and got error python: can't open file '/home/sumo/sumo-0.25.0/tools/randomTrips.py': [Errno 2] No such file or directory
Hello Sir, Very good example and it's indeed helpful that I should say. I followed the steps that you had shown but in the end when I open my map.tcl file , I got zero nodes and None in the values of SET FLOOR SIZE. My activity and mobility files are also empty, there is nothing in there, just a white page. All parameters were set to None. Is my sumo not working properly ?
You can first run the tcl file and in case if it shows any error in the x and y coordinates, increase the X and Y coordinates in the tcl file to accomodate the new area.... set val(x) 1800 set val (y) 780
Dear Sir i am getting this error when finally trying to run $ns guindy.tcl num_nodes is set 40 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" ("uplevel" body line 1) invoked from within "uplevel source.orig [list $fileName]" invoked from within "if [$instance_ is_http_url $fileName] { set buffer [$instance_ read_url $fileName] uplevel eval $buffer } else { uplevel source.orig [list $fileName] ..." (procedure "source" line 8) invoked from within "source mobility.tcl" (file "guindy.tcl" line 73)
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!
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?
There is a method available to execute many parameter via the sumo XML files, but we need to explore... May be try that in my future videos. you can refer the various attributes of SUMO XML Files. It will be there,.
there is no calling while generating routing files by randomtrips.py python randomTrips.py -n map.net.xml -r map.rou.xml -e 100 -l its not calling duarouter. like yours. please help
please sir can you help me ?!! i am getting this error while launching the nam file : You are using the tracefile format older than 1.0a5 which will not allow you to run namgraph i'm using ns2.35 & nam 1.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.
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
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.
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
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
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)
thank you sir. Maybe do you have a example how I can simulate the same scenario but with LTE technology? If you have any suggestion or an example please could you share me.?
hey, i got an error when running the TCL file... did you have something like that? 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" please help me
man i figured out about that error...was just about the size of map... the traffic who was generated with sumo was bigger,so some nodes was out of map size.... so i resize the map.. and work's well, maybe someone has the same problem it can helps a lot! anyway.. thanks dude!
Sir, i'm planning to try to reproduce that scenario- a real traffic , i'm follow your website... please what's your e-mail? we can talk about that. Thanks!!!
Hello Sir, thanks for such a helpful video. I have one doubt at time 15.55, when you are generating route file from randomtrips . You have mentioned 50 as number of vehicles, but official sumo documenation page says that, it's the ending time of trip distribution from randomtrips.py. please refer to www.sumo.dlr.de/userdoc/Tools/Trip.html#randomTrips.py .
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
Beside unclear and noisy voice the instructions were so helpful
its very easy to understand and implement sir thank u
hi...I have done same as done in video but not able to see my nodes..only one node is visible..can u plz help
Vinotheni won't help
It's just showing off
sir, can you make video vanet with protocol GSR?
Hi Pradeep friend!
Much good your´s videos, i with learning theys.
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?
Just check the path inside the TCL file , it might be different
@@tspradeepkumar
No problem sir
I checked the path and rectified the error
Thanks for your concer
@@keerthivasanmanavalan6145 how we do it please i have the same problem. thank you
I have done same as done in video but not able to see my nodes..only one node is visible..can u plz help
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!
I did not know much about OPNET as its a proprietry one... But NS2 or NS3 really do well for Mac Protocol simulations... There are many MAC protocol support in ns3 and as well as in ns2. I suggest you to work more on ns3 rather than ns2...
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.
Hi, did you manage to implement the routing protocol, if yes please tell me how. Thanks in advance
thank you sir
very helpfull sumo-vanets viedo in research.
hi....I have done same as done in video but not able to see my nodes..only one node is visible..can u plz help
thankyou sir, but how to add traffic lights on the map..
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!
i am using NS3, and when i write down ns in command it tells me to install NS2. What can i do ?
./waf --run scratch/file.cc , this is the example command to run ns3 cc files..
thank you, can you make a video about how to add RSU on the road please ?
Yeah I am in process of doing that...
dear when i run command python /home/sumo/sumo-0.25.0/tools/randomTrips.py -n multan.net.xml -r multan.rou.xml -e 100 -l
and got error
python: can't open file '/home/sumo/sumo-0.25.0/tools/randomTrips.py': [Errno 2] No such file or directory
Hello Sir,
Very good example and it's indeed helpful that I should say.
I followed the steps that you had shown but in the end when I open my map.tcl file , I got zero nodes and None in the values of SET FLOOR SIZE. My activity and mobility files are also empty, there is nothing in there, just a white page. All parameters were set to None. Is my sumo not working properly ?
Hello sir.
How to set an exact area size?
For example 1800 m x 780 m.
Thank you very much.
You can first run the tcl file and in case if it shows any error in the x and y coordinates, increase the X and Y coordinates in the tcl file to accomodate the new area....
set val(x) 1800
set val (y) 780
@@tspradeepkumar Thank you very much, it worked!
How would you capture this area directly in OSM?
It's possible?
Dear Sir i am getting this error when finally trying to run $ns guindy.tcl
num_nodes is set 40
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"
("uplevel" body line 1)
invoked from within
"uplevel source.orig [list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source mobility.tcl"
(file "guindy.tcl" line 73)
you find solution,:!
Sir did you find any solution
Send the entire folder, I will check and let you know my email is pradeepkumarts. Google mail
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!
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?
Will upload soon
@@tspradeepkumar Thank you sir
@@tspradeepkumar i am very interested did not find it, did you upload it ?
Sir, Is it possible to extract speed from the sumo output file to ns2
There is a method available to execute many parameter via the sumo XML files, but we need to explore... May be try that in my future videos. you can refer the various attributes of SUMO XML Files. It will be there,.
@@tspradeepkumar Ok Thank you sir..please do videos of simulation in veins(sumo + omnet) if possible
hi every budy, would you tell me how to add RSU on tcl files (eg. file.tcl) on vanet vehicular movment?
did you find how to do it ?
Sir, How can I change the language of openstreet map?
I havent tried. any specific reason for that... Since its a browser based, you can change the browser settings to your language... it would work...
there is no calling while generating routing files by randomtrips.py
python randomTrips.py -n map.net.xml -r map.rou.xml -e 100 -l
its not calling duarouter. like yours. please help
Check the folder from where you run the command and check the location of random trips.py file
Can one perform this with windows and not Ubuntu?
Upto SUMO Traffic generation, you can do it in Windows, but when you use it as a network in ns2 or ns3, then you need Ubuntu or linux for that...
please sir can you help me ?!! i am getting this error while launching the nam file :
You are using the tracefile format older than 1.0a5
which will not allow you to run namgraph
i'm using ns2.35 & nam 1.15 !!
That was a really helpful video.
hi, please help me with the information of versions the software (ubuntu, ns2 y SUMO) because have some mistakes and can be the versions
Sir i have a problem in move while creating map can you help me please
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.
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
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.
Give blank spaces accordingly
netconvert -osm-files
Thank you so much sir, please can you make video on how to detect the DoS attack on VANETs?
Any solution for this problem 'unknown option '--fcd-output''
phedra zriba it’s double hyphen fcd hyphen output
thats what i did
Can you send the full command you used
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
Reduce the x and y numbers in the setdest command and try the simulation. The range of x and y are above 5e specified value in the simulation.
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
Some error inthe location
pleas help me sir :1. How to add a Sybil attack in AODV protocol in ns2….. VANET
I want to do these simulations in ns3 is this possible?
Yes it's alrqdy there as a video in this channel . Check
Sr c programming etho question upload pannurenu sonningle sr
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)
Did you find the solution to this issue
Thanks ...
You're welcome!
thank you sir.
Maybe do you have a example how I can simulate the same scenario but with LTE technology? If you have any suggestion or an example please could you share me.?
hey, i got an error when running the TCL file... did you have something like that?
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"
please help me
man i figured out about that error...was just about the size of map... the traffic who was generated with sumo was bigger,so some nodes was out of map size.... so i resize the map.. and work's well, maybe someone has the same problem it can helps a lot! anyway.. thanks dude!
did you find something related with LTE?
did you find something related with LTE?
Can you suggest me how to open kml file in sumo simulator ??
Hlw sir I need your help sir
how i can export the path SUMO_HOME??????????
thank you sir
netconvert: command not found
Sir, i'm planning to try to reproduce that scenario- a real traffic , i'm follow your website... please what's your e-mail? we can talk about that. Thanks!!!
Hello Sir, thanks for such a helpful video. I have one doubt at time 15.55, when you are generating route file from randomtrips . You have mentioned 50 as number of vehicles, but official sumo documenation page says that, it's the ending time of trip distribution from randomtrips.py. please refer to www.sumo.dlr.de/userdoc/Tools/Trip.html#randomTrips.py .
please sir !!
do U have any solution for the folowing problem :
Can't find a usable init.tcl in the following directories:
/home/bousselham/Téléchargements/ns-allinone-2.35/tcl8.5.10/library:/usr/lib /home/bousselham/Téléchargements/ns-allinone-2.35/lib/tcl8.5 ./lib/tcl8.5 ./lib/tcl8.5 ./library ./library ./tcl8.5.10/library ./tcl8.5.10/library
This probably means that Tcl wasn't installed properly.
Aborted (core dumped)
Sir can I have your mail id?
Check it in my about menu in UA-cam itself.it will display my email ID
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
Remove that particular line and try again
I tried removing the line, the error is same. Looks like error is not related to that file. Also I am using Ubuntu18.04 LTS and Sumo-1.1.0
use these command netconvert --osm-files filename.osm -o filename.net.xml
Hlw sir I need ur help
what help
@tspradeepkumar about netsim sir that how to work for vanet for accident detection... please make vedio on that sir please I need ur help