From 4fb4c4bffbbb6266b294864bf8ec4057c76b3d9c Mon Sep 17 00:00:00 2001 From: Oguz Ozturk Date: Thu, 26 Sep 2024 20:19:37 +0300 Subject: [PATCH] . Signed-off-by: Oguz Ozturk --- docker/run.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docker/run.sh b/docker/run.sh index 37bbd4f63a8..a7a08ab7dd7 100755 --- a/docker/run.sh +++ b/docker/run.sh @@ -1,4 +1,13 @@ #!/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 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 \ No newline at end of file + +docker run -it --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/autoware:universe-amd64 ros2 launch autoware_launch planning_simulator.launch.xml \ + map_path:=/opt/autoware/share/kashiwanoha_map \ + vehicle_model:=sample_vehicle \ + sensor_model:=sample_sensor_kit \ + scenario_simulation:=true \ + rviz:=false \ No newline at end of file