VANET Simulation Using SUMO and OpenStreetMap - NS2 Tutorial # 17

Поділитися
Вставка
  • Опубліковано 30 гру 2024

КОМЕНТАРІ • 102

  • @amirdashti
    @amirdashti 8 років тому +3

    Beside unclear and noisy voice the instructions were so helpful

  • @vinothenicoumar9865
    @vinothenicoumar9865 7 років тому +1

    its very easy to understand and implement sir thank u

    • @vibhaoberoi2476
      @vibhaoberoi2476 5 років тому

      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

    • @lokeshkumarveshala8232
      @lokeshkumarveshala8232 5 років тому

      Vinotheni won't help
      It's just showing off

  • @dekarachmad
    @dekarachmad 4 роки тому +2

    sir, can you make video vanet with protocol GSR?

  • @edivaldopastorivalentini2600
    @edivaldopastorivalentini2600 5 років тому +1

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

  • @keerthivasanmanavalan6145
    @keerthivasanmanavalan6145 4 роки тому +2

    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?

    • @tspradeepkumar
      @tspradeepkumar  4 роки тому

      Just check the path inside the TCL file , it might be different

    • @keerthivasanmanavalan6145
      @keerthivasanmanavalan6145 4 роки тому

      @@tspradeepkumar
      No problem sir
      I checked the path and rectified the error
      Thanks for your concer

    • @amiramissoum757
      @amiramissoum757 4 роки тому

      @@keerthivasanmanavalan6145 how we do it please i have the same problem. thank you

  • @vibhaoberoi2476
    @vibhaoberoi2476 5 років тому

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

  • @xianfeizhang9284
    @xianfeizhang9284 2 роки тому +1

    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!

    • @tspradeepkumar
      @tspradeepkumar  2 роки тому

      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...

  • @saraha.2827
    @saraha.2827 5 років тому +1

    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.

    • @ahmanemassinissa600
      @ahmanemassinissa600 2 роки тому

      Hi, did you manage to implement the routing protocol, if yes please tell me how. Thanks in advance

  • @ITCOMPUTERCENTRE2009.
    @ITCOMPUTERCENTRE2009. 8 років тому +2

    thank you sir
    very helpfull sumo-vanets viedo in research.

    • @vibhaoberoi2476
      @vibhaoberoi2476 5 років тому

      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

  • @suhaibkhan4956
    @suhaibkhan4956 6 років тому +1

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

  • @1theblacksheep
    @1theblacksheep 7 років тому +1

    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!

  • @sabrinebelmekki2126
    @sabrinebelmekki2126 3 роки тому +1

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

    • @tspradeepkumar
      @tspradeepkumar  3 роки тому

      ./waf --run scratch/file.cc , this is the example command to run ns3 cc files..

  • @sabrinebelmekki2126
    @sabrinebelmekki2126 3 роки тому +1

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

  • @hfarhad007
    @hfarhad007 6 років тому

    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

  • @LidoList
    @LidoList 7 років тому

    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 ?

  • @tiagorocha3367
    @tiagorocha3367 5 років тому +1

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

    • @tspradeepkumar
      @tspradeepkumar  5 років тому

      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

    • @tiagorocha3367
      @tiagorocha3367 5 років тому +1

      @@tspradeepkumar Thank you very much, it worked!
      How would you capture this area directly in OSM?
      It's possible?

  • @pawansingh2214
    @pawansingh2214 5 років тому +1

    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)

  • @vineethsubramaniamj7726
    @vineethsubramaniamj7726 4 роки тому

    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!

  • @rajeshwarim6631
    @rajeshwarim6631 4 роки тому +1

    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 3 роки тому +1

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

    • @tspradeepkumar
      @tspradeepkumar  3 роки тому

      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,.

    • @jalwakp3921
      @jalwakp3921 3 роки тому

      @@tspradeepkumar Ok Thank you sir..please do videos of simulation in veins(sumo + omnet) if possible

  • @ayenezinabie9511
    @ayenezinabie9511 5 років тому +1

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

  • @FarhanJaved
    @FarhanJaved 2 роки тому +1

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

    • @tspradeepkumar
      @tspradeepkumar  2 роки тому

      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...

  • @mukulbedwa
    @mukulbedwa 5 років тому +1

    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

    • @tspradeepkumar
      @tspradeepkumar  5 років тому +1

      Check the folder from where you run the command and check the location of random trips.py file

  • @MwangiWangarij
    @MwangiWangarij 3 роки тому +1

    Can one perform this with windows and not Ubuntu?

    • @tspradeepkumar
      @tspradeepkumar  3 роки тому

      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...

  • @mouradaklouf9289
    @mouradaklouf9289 7 років тому

    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 !!

  • @prateekgupta3233
    @prateekgupta3233 5 років тому

    That was a really helpful video.

  • @dannytierra8663
    @dannytierra8663 7 років тому

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

  • @bibekanandasahoo7964
    @bibekanandasahoo7964 4 роки тому

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

  • @kalsooms8445
    @kalsooms8445 7 років тому

    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 7 років тому

    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

  • @malavikasuresh1533
    @malavikasuresh1533 5 років тому +1

    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.

  • @ibrahimnasidi6852
    @ibrahimnasidi6852 7 років тому

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

  • @phedrazriba2180
    @phedrazriba2180 5 років тому +1

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

  • @sowmyakudva9145
    @sowmyakudva9145 4 роки тому +1

    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

    • @tspradeepkumar
      @tspradeepkumar  4 роки тому +1

      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.

  • @PrasantMohanty_it
    @PrasantMohanty_it 5 років тому +1

    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

  • @captaincaptainn7030
    @captaincaptainn7030 5 років тому

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

  • @tashjiamalik2294
    @tashjiamalik2294 4 роки тому +1

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

    • @tspradeepkumar
      @tspradeepkumar  4 роки тому

      Yes it's alrqdy there as a video in this channel . Check

  • @KamalBYTE
    @KamalBYTE 6 років тому +1

    Sr c programming etho question upload pannurenu sonningle sr

  • @phedrazriba2180
    @phedrazriba2180 5 років тому +1

    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)

  • @hanadidarwisho4749
    @hanadidarwisho4749 3 роки тому +1

    Thanks ...

  • @JuanjoKronosCronos
    @JuanjoKronosCronos 7 років тому

    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.?

    • @1theblacksheep
      @1theblacksheep 7 років тому

      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

    • @1theblacksheep
      @1theblacksheep 7 років тому +1

      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!

    • @JokerMaster61
      @JokerMaster61 7 років тому

      did you find something related with LTE?

    • @arkabhattacharjee638
      @arkabhattacharjee638 6 років тому

      did you find something related with LTE?

  • @margipatel2014
    @margipatel2014 7 років тому

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

  • @niharikasingh6473
    @niharikasingh6473 2 місяці тому +1

    Hlw sir I need your help sir

  • @kalsooms8445
    @kalsooms8445 7 років тому

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

  • @dr.sukeshmanyam306
    @dr.sukeshmanyam306 7 років тому

    thank you sir

  • @AchyuthS.S.
    @AchyuthS.S. 6 місяців тому

    netconvert: command not found

  • @1theblacksheep
    @1theblacksheep 8 років тому

    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!!!

  • @arkabhattacharjee638
    @arkabhattacharjee638 6 років тому

    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 .

  • @mhidibousselham
    @mhidibousselham 7 років тому

    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)

  • @yashwanthdama2550
    @yashwanthdama2550 4 роки тому +1

    Sir can I have your mail id?

    • @tspradeepkumar
      @tspradeepkumar  4 роки тому

      Check it in my about menu in UA-cam itself.it will display my email ID

  • @salmanimtiaz7115
    @salmanimtiaz7115 5 років тому +1

    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

    • @tspradeepkumar
      @tspradeepkumar  5 років тому

      Remove that particular line and try again

    • @salmanimtiaz7115
      @salmanimtiaz7115 5 років тому

      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

    • @ayenezinabie9511
      @ayenezinabie9511 5 років тому

      use these command netconvert --osm-files filename.osm -o filename.net.xml

  • @niharikasingh6473
    @niharikasingh6473 Місяць тому +1

    Hlw sir I need ur help

    • @tspradeepkumar
      @tspradeepkumar  Місяць тому

      what help

    • @niharikasingh6473
      @niharikasingh6473 Місяць тому

      @tspradeepkumar about netsim sir that how to work for vanet for accident detection... please make vedio on that sir please I need ur help