Simulation of accident with V2X communication using SUMO-TraCI-Veins

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 พ.ค. 2021
  • Made by: Ádám Krakkai, Tamás Kacskovics
    Year: 2021
    Semester project of course "Traffic Modelling, Simulation, and Control" (Autonomous Vehicle Control Engineer Master programme at Budapest University of Technology and Economics, BME)
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 11

  • @amerlof1625
    @amerlof1625 6 หลายเดือนก่อน

    Hi, Can i get the code for this simulation to get more knowledge about how to code this scenario?,,,, I appreciate if you could share it

  • @ppcrh
    @ppcrh ปีที่แล้ว +1

    Hi, I'm starting to learn how to work with OMNET++ and Veins to interact with traffic lights, and I'm having some difficulties about finding tutorials step by step or initial content for beginners. Can you point some directions that I can follow how to start?

    • @bmetrafficlab
      @bmetrafficlab  ปีที่แล้ว

      Dear Christian,
      we have a helpful documentation about OMNeT++, Veins and INET: traffic.bme.hu/2023/02/07/sumo-traci-veins-inet-omnet-programming/
      It is not covering traffic light interaction, however maybe can help to understand some omnet and veins related basics. From your application code you can just use this pointer to access traffic light related functions: traci->trafficlight("trafficLightID"), e.g., traci->trafficlight("trafficLightID").setProgram(program); When you type the pointer, the IDE will show you the available functions. It is also worth checking the SUMO TraCI documentation as most of the traci commands are named the same and helps you to find the right function.
      Hope this helps!

  • @gurukarthikboluguddeprabha7120
    @gurukarthikboluguddeprabha7120 2 ปีที่แล้ว +1

    Hello,
    If an accident occurs in a multiple lane highway, how can we make the other vehicles change the lane ?

    • @bmetrafficlab
      @bmetrafficlab  2 ปีที่แล้ว +1

      Dear Guru Karthik Bolugudde Prabhakar,
      you can make them change lane with a TraCI command or you can disallow certain vehicle types on a road/lane (which was used in this video) and force them to recalculate their routes.

  • @msadekmarwa5934
    @msadekmarwa5934 2 ปีที่แล้ว

    Thank for this video . How can I add the LoRa protocol?

    • @bmetrafficlab
      @bmetrafficlab  2 ปีที่แล้ว

      Dear msadek marwa,
      there is a framework (flora.aalto.fi/) which could be used, however it could be a big task to make it work with Veins together.

    • @msadekmarwa5934
      @msadekmarwa5934 2 ปีที่แล้ว

      @@bmetrafficlab Thank you for your reply. Yes I am trying but I had a problems could you show an example like this ??

    • @bmetrafficlab
      @bmetrafficlab  2 ปีที่แล้ว +1

      ​@@msadekmarwa5934 Unfortunatley we do not use this framework, so we have no experience with it.

  • @hello_sydney6484
    @hello_sydney6484 ปีที่แล้ว

    Please I cannot find the two functions getSenderId and SetSenderId, are you redefine them in TraCIDemo11pMessage?

    • @bmetrafficlab
      @bmetrafficlab  ปีที่แล้ว

      First, you have to define a variable in the .msg file (e.g., int senderID;), then you have to build the project, so OMNeT++ will generate the corresponding getter and setter functions according to the defined variables. After that, you can freely use the functions.