From d1cc951a27ed446677c6c71904b00da611008b00 Mon Sep 17 00:00:00 2001 From: Oguz Ozturk Date: Thu, 26 Sep 2024 20:21:20 +0300 Subject: [PATCH] . Signed-off-by: Oguz Ozturk --- docker/run_sim.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 docker/run_sim.sh diff --git a/docker/run_sim.sh b/docker/run_sim.sh new file mode 100755 index 00000000000..3949f27eab3 --- /dev/null +++ b/docker/run_sim.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +xhost + +docker run -it -e DISPLAY=$DISPLAY -v /tmp/.X11-unix/:/tmp/.X11-unix --net=host \ + -v /dev/shm:/dev/shm -e RMW_IMPLEMENTATION=rmw_cyclonedds_cpp \ + -e ROS_DOMAIN_ID=99 \ + -e ROS_LOCALHOST_ONLY=0 \ + ghcr.io/autowarefoundation/openadkit_demo.autoware:aws-reinvent-simulator-monolithic-amd64 \ + ros2 launch scenario_test_runner scenario_test_runner.launch.py \ + architecture_type:=awf/universe/20240605 \ + record:=false \ + scenario:='$(find-pkg-share scenario_test_runner)/scenario/sample.yaml' \ + sensor_model:=sample_sensor_kit \ + vehicle_model:=sample_vehicle \ + initialize_duration:=90 \ + global_frame_rate:=15 \ + launch_autoware:=false \ + launch_rviz:=true \ No newline at end of file