Blender with CARLA simulator
arjunsk07 opened this issue · 2 comments
Hello @johschmitz , I am new to this openscenario and CARLA simulator, Is it possible to create a specific scenario, for example, a overtaking scenario in a two-way highway with this blender creator and to import it to CARLA for testing?
Also, just an add-on question from my side, Are there any solutions?/tools for creating concrete scenarios from functional scenarios for testing with CARLA simulator?
Since I am still heavily working on the basics and this is just a side project, there is still a lot of work to do regarding the OpenSCENARIO part of this addon. As of now you can only work with initial positions and trajectories but I am planning to add some more sophisticated features later, hopefully next year. Also I think it should be possible to load the scenarios in CARLA with the scenario runner but I haven't tested it, again due to a lack of time. Feel free to report back though how it works below or open new issues for specific issues that you have with it, where I can help by fixing my implementation.
Regarding the other question about functional scenarios I think there is not so many open source tools available in that direction right now. Maybe you could have a look at the "Scenic" tool and see if it at least goes somewhat into the direction of your needs:
https://carla.readthedocs.io/en/latest/tuto_G_scenic/
Also you can use https://github.com/pyoscx/scenariogeneration if you like to directly write logic or concrete OpenSCENARIO 1.x using a Python API. This is also the library that I am using as a backend for the Blender addon. You can also try to use my addon and then later modify the exported "base" scenario with some additional Python code. As far as I know the library can import the OpenSCENARIO file and then you can modify it and export it again.
@arjunsk07 #23 This might be helpful for you.