diff --git a/perception/euclidean_cluster/launch/euclidean_cluster.launch.py b/perception/euclidean_cluster/launch/euclidean_cluster.launch.py index cfbbeb5ea0762..b8d4f61a9cf28 100644 --- a/perception/euclidean_cluster/launch/euclidean_cluster.launch.py +++ b/perception/euclidean_cluster/launch/euclidean_cluster.launch.py @@ -81,7 +81,7 @@ def load_composable_node_param(param_path): target_container = ( LaunchConfiguration("pointcloud_container_name") - if IfCondition(LaunchConfiguration("use_pointcloud_container")) + if IfCondition(LaunchConfiguration("use_pointcloud_container")).evaluate(context) else container )