johschmitz / blender-driving-scenario-creator

Blender add-on for creating OpenDRIVE and OpenSCENARIO based automotive driving scenarios including 3D models
GNU General Public License v3.0
226 stars 36 forks source link

Playing OpenSCENARIO inside Blender #10

Open IKMUN95 opened 2 years ago

IKMUN95 commented 2 years ago

Hi! Thank you for the great software.

After I create OpenScenario (trajectories and car), I confirmed that xosc file has been created properly. However, I want to check in the Blender layout that the scenario was created well as I expected. Playing animation does not work so I can't check my scenario was created properly or not. As I am new to blender, I want to know if these features are supported or not .

johschmitz commented 2 years ago

Hello @IKMUN95 thanks for the feedback. The feature you are looking for is currently not supported inside Blender. It might be possible to run the simulation with esmini and stream back and display the object positions inside of Blender. I just did not have time to look into this and see if the necessary APIs are available. So this is a possible enhancement for the future.

In the meantime, after exporting, you can run the scenario in esmini as described in the readme. Let me know in case you have any trouble with that.

IKMUN95 commented 2 years ago

Thank you for replying. I played the simulation with esmini and it's working well. Good luck !!!