-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with OpenDrive and CommonDrive format #54
Comments
Yes. Just extract lane center lines/polygons and lane lines from these map format. Then the map can be loaded into the simulator. We don't implement such a converter, so you need to do it on your own. We can help with it. |
Do you have any reference to both data format used ? Because I would like to measure criticality in nuScenes scenes by CommonRoad-CriMe, metrics here. Maybe it would be easier to just adapt these metrics to your data format instead of convert from nuScenes to ScenarioNet and then to CommonRoad format. |
An example of ScenarioNet data format is like this. Basically, it is a dictionary where you have vehicle trajectories/velocities/headings, and map structures represented by polyline and polygons. And everything is explicit and human-readable. The nuScenes data has no explicit format, you have to access everything in the scenario by calling the original APIs which take their database file as input. For OpenDrive, it is a map format stored Regarding your question, the solution in my mind is using ScenarioNet to extract explicit scenario data from the nuScenes dataset. And then making a data loader for CommonRoad-CriMe, allowing it to parse trajectories and map structures from the dictionary-like ScenarioNet format. |
Ok thank you very much! |
Indeed, these metrics are missing in both MetaDrive and ScenarioNet but can be useful for training policies, measuring performance, and so on. It is good to have this. Feel free to ask me any questions. |
Ok, I will then convert nuScenes (ScenarioNet format) into commonroad format to compute these metrics. However I have some doubts:
|
|
Hello I saw that some support for OpenDrive maps was being added in Metadrive. Is it preferred to convert OpenDrive data to scenarionet or to directly add support for OpenDrive in Metadrive? |
We are going to directly support OpenDrive in MetaDrive with SUMO's net converter. |
Is there any way in which I could help with development? |
@mimi89999 Thank you so much. That feature is almost finished and will be released with the SUMO x MetaDrive bridge soon. |
Hello,
Do you know whether ScenarioNet format is compatible in some way with OpenDrive and/or CommonDrive data format?
The text was updated successfully, but these errors were encountered: