Skip to content

How are Vehicles spawned in Eclipse MOSAIC? #180

Answered by kschrab
greyweb asked this question in Q&A
Discussion options

You must be logged in to vote

The spawn location should not be affected by moving the RSU or changing the event location. Vehicles follow a specific route and are spawned at the start location of their route. The routes are stored in the application/Barnim.db file (SQLite database). Routes are identified by its ID and can be changed/added using the scenario-convert tool (find more details here). The vehicles are spawned according to the traffic definition in the mapping_config.json. Here you can define one or more so-called "spawners", which will add a continuous flow of vehicles following a specific route:

The following configuration will spawn 120 vehicles of type Car on a route with ID 1. The first vehicle will spa…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@greyweb
Comment options

Answer selected by kschrab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants