Skip to content

Commit

Permalink
Fixed the issue not to be able to terminate all of nodes in launch as…
Browse files Browse the repository at this point in the history
… soon as benchmark node process is finished.
CihatAltiparmak committed Jul 10, 2024
1 parent caa5496 commit e61a02a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion launch/scenario_perception_pipeline_benchmark.launch.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os
from launch import LaunchDescription
from launch.actions import DeclareLaunchArgument
from launch.actions import DeclareLaunchArgument, Shutdown
from launch.substitutions import LaunchConfiguration, PathJoinSubstitution
from launch.conditions import IfCondition
from launch_ros.actions import Node
@@ -132,6 +132,7 @@ def generate_launch_description():
{"use_sim_time": True},
{"selected_test_case_index": 1},
],
on_exit=Shutdown(),
)

return LaunchDescription(

0 comments on commit e61a02a

Please sign in to comment.