ros-bridge icon indicating copy to clipboard operation
ros-bridge copied to clipboard

Add new Scenario

Open kargarisaac opened this issue 2 years ago • 2 comments

Hi, I'm trying to use another scenario from scenario runner with carla_ad_demo. I put the scenario file LaneChangeSimple.xosc in the config folder next to the FollowLeadingVehicle.xosc file and change both launch files in the launch folded. Then I build again and source and run the ros2 launch carla_ad_demo carla_ad_demo_with_scenario.launch.py command. I can see the new added scenario in rviz but when I click on the execute button, it doesn't work. I see a warning in the terminal that:

Requested scenario file not existing /home/isaac/carla-ros-bridge/install/carla_ad_demo/share/carla_ad_demo/config/PedestrianCrossingFront.xosc

It seems the file that I put in the config folder, is not generated in the install folder (carla-ros-bridge/install). I tested removing install, build, and log folders and build again, but it didn't work.

Am I doing sth wrong? Or how should I do the available openscenario files from scenario runner to carla ros bridge?

Thank you

kargarisaac avatar Nov 12 '21 12:11 kargarisaac

It seems that the problem was with changing the city. When I add a scenario from town01, it works. Any suggestions on how to fix this? where should I look for the problem?

kargarisaac avatar Dec 17 '21 07:12 kargarisaac

Hi, Is there any update on this issue yet? Did you solve this issue?

EnnaSachdeva avatar Nov 03 '22 21:11 EnnaSachdeva