Questions tagged [sumo]

SUMO (Simulation of Urban MObility) is a microscopic traffic simulation package. This tag should be used when you have a question about software development with SUMO package.

SUMO is a free and open traffic simulation suite which is available since 2001. SUMO allows modelling of intermodal traffic systems including road vehicles, public transport and pedestrians. Included with SUMO is a wealth of supporting tools which handle tasks such as route finding, visualization, network import and emission calculation. SUMO can be enhanced with custom models and provides various APIs to remotely control the simulation.

See the contact page for support resources.

The core applications are written in C++ while the script tooling around it is in Python. Clients for external interfacing over the Traffic Control Interface (TraCI) protocol are available in Python, Java, C++ and MATLAB.

643 questions
1
vote
1 answer

Where to view logged results in Veins 5.1

I'm somewhat new to Veins and I'm trying to record collision statistics within the sample "RSUExampleScenario" provided in the VM. I found this question which describes what line to add to the .ini file, which I have, but I'm unable to find the…
jazaniac
  • 145
  • 1
  • 12
1
vote
1 answer

How to register two moduleType to VeinsInetManager?

I used SUMO to move vehicles and bus nodes on a four-lane road. The source code of my route file is as follows:
Minwoo Kim
  • 497
  • 1
  • 5
  • 21
1
vote
0 answers

Traffic light state in OMNeT++ and Sumo

I'm working on a project using Veins (v5.1) along with SUMO (v1.8) and OMNeT++ (v5.6.2) to simulate the communication between vehicles and traffic lights. From my understanding, OMNeT++ doesn't actually recognize traffic lights but they might be…
Christina
  • 70
  • 7
1
vote
1 answer

How to import trace file to OMNeT++/Veins?

First of all, sorry my bad English... I have a trace that I exported from SUMO in the format recognized by OMNeT++. Now I need to use it to run some simulations in Veins, but I don't know how to read/import a trace file in OMNeT++. Other…
dnat
  • 88
  • 6
1
vote
0 answers

How to maintain a constant number of PEDESTRIANS in SUMO

I am using SUMO 0.30.0 and I want to simulate an scenario with a constant number of pedestrians walking on the streets. I checked SUMO's FAQ, specifically How do I generate random routes? and I managed to maintain a constant number of vehicles using…
1
vote
1 answer

Understanding .msg files in omnet++ and veins

I am really new to Omnet++ and Veins .I find it really hard to progress through Omnet++ and Veins even with all the documentations provided .Right now I am stuck at how .msg files are generated and how messages are handled in veins .Can someone…
Sreeram M
  • 140
  • 10
1
vote
1 answer

Missing file (net.xml) in Running Environment Flow

On tutorial 01 from flow:Tutorial 01. I executed the code flow_params = dict( exp_tag='ring_example', env_name=AccelEnv, network=RingNetwork, simulator='traci', sim=sim_params, env=env_params, net=net_params, …
Sidnetopia
  • 97
  • 8
1
vote
1 answer

OMNET++, VEINS and SUMO - Vehicle disappear when I try to change color

I am trying to change the color of an individual vehicle in SUMO, but when I use the following code, the vehicle disappears. I am able to get data on the cars, but the vehicle stays invisible. I put these definitions on the top of this same…
Edson Mota
  • 11
  • 5
1
vote
0 answers

Handle Position Update in "real-time"

How long, in real life, is equivalent to 1 second of Veins Handle Position Update? In the file omnet.ini I defined the simulation times and the handle position update as 100s and 1s, respectively. However, I'm not sure how much this would be worth…
1
vote
0 answers

Pedestrian in veins (omnet++/sumo)

I want to simulate a pedestrian simulation in Omnet++ from SUMO, using Veins. I made all the steps suggested here Pedestrian Simulation in veins (omnet++/sumo) in the question part. From the corresponding answer I got that, even if it's not…
1
vote
1 answer

how can I set the vehicle to drive at a constant speed in sumo file?

How can I set the vehicle to drive at a constant speed? I find the speed of vehicle increases firstly and then drive at speed between 14.5 and 14.7 m/s in sumo. But I want the car drive at a constant speed in sumo. What shuould I…
666666
  • 37
  • 4
1
vote
0 answers

Total Busy time in Veins

There are auto generated statistics in VANET where I am able to see the total busy time for each node among other things such as the send packets and received broadcasts. Is this time in seconds or milliseconds? What does this mean exactly to have…
Wedadi
  • 33
  • 6
1
vote
1 answer

/bin/netedit: symbol lookup error: /usr/lib/libgdal.so.20: undefined symbol: ecs_SetReportErrorFunction

Error: /bin/netedit: symbol lookup error: /usr/lib/libgdal.so.20: undefined symbol: ecs_SetReportErrorFunction This error appears when I try to run netedit. I have both the Webots simulation software, as well as the SUMO simulation…
1
vote
2 answers

How to get all currently spawned vehicles in sumo through traci

I have a question about sumo/traci. In python there exist functions for retrieving values from sumo: sumo documentation How do I do that in C++, specifically i need a list of all vehicles which are currently in the simulation. Thank You
elvenking
  • 97
  • 6
1
vote
1 answer

DSRC and WIFI (LTE/Cellular) in vehicular communication

Can NS -2.35 simulate both DSRC and WIFI vehicular communication in the same environement? If not, is there any software simulation capable of ?