Open GittUser2021 opened 2 years ago
There is no support for OpenScenario at the moment (only OpenDRIVE). It's likely that support will be added in small steps rather than supporting the whole standard at once. What would be a minimum viable use case? Could you provide a sample OpenScenario file for this?
I will just take this ticket as reference for the OpenScenario Support.
Like referred to at the conference, OpenScenario consists of 2 parts for us:
From my perspective, it makes most sense to directly implement OpenScenario 2.0 (although we work with 1.X). Many OpenScenario 1.X readers and generators already exist, some examples:
The questions I have are:
@namdre maybe you have some other questions/unanswered points we can clarify before digging deeper. This could also be a topic for the openmobility group.
so far all our demand-generating tools work by pre-processing some inputs to generate route-files (etc.). While a few were implemented in C++ (od2trips, dfrouter,...), by now the majority of demand tools are implemented in python. I think the openScenario importer could be a python tool (or tools) as well unless there is a good reason against it (i.e. a suitable C++ library that is license-compatible and can be integrated).
Ignoring those parts or generating shapes/pois for information purpose would be my suggestion
Thanks for providing the list of reference. I prefer something lightweight but haven't had the time to evaluate the list in depth and sort them by this metric. I'm open for suggestions.
as far as I can tell, YASE does not provide front end code for parsing/processing OpenSCENARIO files so it's not terribly relevant to our purpose
The story file data might also be tackled via #1922 at least for static trajectories.
@namdre Hello, I've been working on Sumo and wanted to see if the sumo cfg or net files can be converted or exported into Openscenario format or not? Any suggestions would help.
@GittUser2021 Did you get a chance to work on this further? Thank you!
@rupeshnanjara No work has been done on this yet on the SUMO side (except for continuous work on OpenDRIVE support).
Hello, Is there any update about this work. As I'm very much interested to work with openscenrio for the projects using SUMO. Please do let me know Thanks
Hi @prasuka4, the work I have done so far involves code I cannot share. Maybe I can get a student working on python Code. We can then share that with the community.
The basic structure: An OpenSCENARIO "story" has 2 parts. The story file and catalogs with information of the relevant objects. For it to work in SUMO, we parse the catalogs in beforehand and translate/transform the information into "additional"-files. The story file is translated/transformed into a traci-file, which can simply be a series of traci-commands.
I want to ask, is there any way to view the Python code that supports OpenSCENARIO 2.0 mentioned above now?
Unfortunately nothing was done from our side yet regarding the Python code. Maybe I can ask ChatGPT to translate my Matlab code to Python. But this will still take a while, as I am working on different projects right now.
Thank you for your response! Is there a plan for SUMO to support OpenScenario 2.0? You mentioned earlier that the Matlab code cannot be shared, so do I have to wait for your Python code?
You can absolutely write code yourself. All information I can provide is above. I currently do not see any benefit using 2.X over 1.X. But that may only be my opinion, as I am familiar with 1.X and not 2.X.
Thanks for your answer!
Hi, is Sumo Simulator compatible with OpenSCENARIO? I would like to know whether OpenScenerio files can be imported into SUMO and be utilized by SUMO. The use case is that we have many test cases established in OpenScenerio. It might be beneficial to import OpenScenerio into SUMO and run those test cases in SUMO. Thanks.