pyoscx / scenariogeneration

Python library to generate linked OpenDRIVE and OpenSCENARIO files
Mozilla Public License 2.0
274 stars 86 forks source link

xosc to rviz #148

Open ghwns0529 opened 1 year ago

ghwns0529 commented 1 year ago

Hi I am studying openscenario. How can I link openscenario to rivz? I want to link the openscenario for ego-car to rviz.

Thank you!

mander76 commented 1 year ago

Hmm, I haven't used rviz myself. But in general I would say you need a scenario-player, I suggest esmini, it has it's own viewer aswell that you can see how your scenario works.

But to get it to rviz, you probably have to import esmini as a lib to rviz and take control of the car with an "external" controller in esmini.