Dear community,
when trying to simulate scenario “DEU_Frankfurt-196_4_I-1” or “DEU_Frankfurt-245_9_I-1”, I get the following error:
commonroad-interactive-scenarios/venv/lib/python3.8/site-packages/commonroad/scenario/scenario.py", line 1174, in _mark_object_id_as_used
** raise ValueError(“ID %s is already used.” % object_id)** ValueError: ID 0 is already used.
Thanks for your message. I had a look into the scenario file. Indeed, the id="0" is used by multiple incomings; thus the error message is correct. As a quick-fix, you could just manually edit the incoming-ids. To this end, search the *.cr.xml file for id="0" (and likewise for id=1). You will have more than one match. Replace them with ids, which have not been used before. The intersection description should then look like this: