-
Hi, I am trying to simulate V2X communication in a traffic network and am having difficulty when importing the routes from my rou.xml file to my database. I created my rou.xml file using randomtrips.py and imported them to the scenario according to the instructions on this page. However, I am getting this message:
It seems like it is unable to import any routes because when I try to run my scenario, I get the following:
I would appreciate any advice on how to fix this or if there is a simpler way to generate random trips in MOSAIC altogether. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The latest release 20.0 requires to build a SUMO network file from OpenStreetMap using
|
Beta Was this translation helpful? Give feedback.
The latest release 20.0 requires to build a SUMO network file from OpenStreetMap using
scenario-convert
with the--osm2db
+--db2sumo
, or--osm2sumo
, or--osm2mosaic
option. From your output it seems that your net-file was not generated using scenario-convert, but directly with netconvert. However, the upcoming release will fix this and will allow you to import any net-file and corresponding route-file you want. You have two options now:scenario-convert
using an OSM file as input. If you use the option--osm2mosaic -i path/to/map.osm --generate-routes
a fully functioning scenario should be generated with some vehicles driving on some random routes.