Zecar
Zecar

Reputation: 29

About changing the playground size of the Veins

How to reduce the playground size as well as how to start the vehicles from the middle of the road. Where and which file should I have change?

Upvotes: 1

Views: 549

Answers (1)

Christoph Sommer
Christoph Sommer

Reputation: 6943

In Veins, node mobility of cars is entirely managed by SUMO. Whenever a new car starts in the SUMO simulation, a node is created in OMNeT++. Whenever (and wherever) the car moves in SUMO, it is moved in OMNeT++. If you want to change how the nodes (that represent cars) move, just change the SUMO simulation (by creating new routes or an entirely new network).

If you want to know more about how to create and change SUMO simulations, you can find in-depth information in the SUMO manual.

Upvotes: 1

Related Questions