From d406394e3860a143d7516e0936b18fb8316ee459 Mon Sep 17 00:00:00 2001 From: KhalilSelyan Date: Tue, 3 Sep 2024 17:09:07 +0300 Subject: [PATCH 1/3] added rviz_config to the launch script Signed-off-by: KhalilSelyan --- .../others/planning-evaluation-using-scenarios.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/how-to-guides/others/planning-evaluation-using-scenarios.md b/docs/how-to-guides/others/planning-evaluation-using-scenarios.md index e18236495ff..13e9d104793 100644 --- a/docs/how-to-guides/others/planning-evaluation-using-scenarios.md +++ b/docs/how-to-guides/others/planning-evaluation-using-scenarios.md @@ -163,7 +163,8 @@ ros2 launch scenario_test_runner scenario_test_runner.launch.py \ record:=false \ scenario:='/path/to/scenario/sample.yaml' \ sensor_model:=sample_sensor_kit \ -vehicle_model:=sample_vehicle +vehicle_model:=sample_vehicle \ +rviz_config:=$($(ros2 pkg prefix autoware_launch)/share/autoware_launch/rviz/simulator.rviz) ``` - Now, the scenario will be executed in the Scenario Simulator. You can see the simulation in the RViz window. From ffc9c60a88d8cddf0193888a46e2e6a68d53f9c4 Mon Sep 17 00:00:00 2001 From: KhalilSelyan Date: Tue, 3 Sep 2024 17:26:54 +0300 Subject: [PATCH 2/3] update config file name Signed-off-by: KhalilSelyan --- .../how-to-guides/others/planning-evaluation-using-scenarios.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/how-to-guides/others/planning-evaluation-using-scenarios.md b/docs/how-to-guides/others/planning-evaluation-using-scenarios.md index 13e9d104793..dab83a58542 100644 --- a/docs/how-to-guides/others/planning-evaluation-using-scenarios.md +++ b/docs/how-to-guides/others/planning-evaluation-using-scenarios.md @@ -164,7 +164,7 @@ record:=false \ scenario:='/path/to/scenario/sample.yaml' \ sensor_model:=sample_sensor_kit \ vehicle_model:=sample_vehicle \ -rviz_config:=$($(ros2 pkg prefix autoware_launch)/share/autoware_launch/rviz/simulator.rviz) +rviz_config:=$($(ros2 pkg prefix autoware_launch)/share/autoware_launch/rviz/scenario_simulator.rviz) ``` - Now, the scenario will be executed in the Scenario Simulator. You can see the simulation in the RViz window. From 41effa78dab29c2ed28a4eb0dca4fa71562852b0 Mon Sep 17 00:00:00 2001 From: KhalilSelyan Date: Tue, 3 Sep 2024 18:00:07 +0300 Subject: [PATCH 3/3] feat: add rviz_config to the launch script in tutorial Signed-off-by: KhalilSelyan --- .../planning-simulation/scenario-test-simulation.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/tutorials/scenario-simulation/planning-simulation/scenario-test-simulation.md b/docs/tutorials/scenario-simulation/planning-simulation/scenario-test-simulation.md index ebd2e256321..47c77120fb7 100644 --- a/docs/tutorials/scenario-simulation/planning-simulation/scenario-test-simulation.md +++ b/docs/tutorials/scenario-simulation/planning-simulation/scenario-test-simulation.md @@ -22,7 +22,8 @@ record:=false \ scenario:='$(find-pkg-share scenario_test_runner)/scenario/sample.yaml' \ sensor_model:=sample_sensor_kit \ - vehicle_model:=sample_vehicle + vehicle_model:=sample_vehicle \ + rviz_config:=$($(ros2 pkg prefix autoware_launch)/share/autoware_launch/rviz/scenario_simulator.rviz) ``` ![scenario_test_runner](images/scenario_test_runner.png)