File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
nav2_costmap_filters_demo/launch Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 22
22
from launch .actions import DeclareLaunchArgument , GroupAction
23
23
from launch .conditions import IfCondition
24
24
from launch .substitutions import LaunchConfiguration , PythonExpression
25
- from launch .substitutions import NotEqualsSubstitution
25
+ # from launch.substitutions import NotEqualsSubstitution
26
26
from launch_ros .actions import Node , LoadComposableNodes
27
27
from launch_ros .actions import PushRosNamespace
28
28
from launch_ros .descriptions import ComposableNode
@@ -123,7 +123,10 @@ def generate_launch_description():
123
123
condition = IfCondition (use_composition ),
124
124
actions = [
125
125
PushRosNamespace (
126
- condition = IfCondition (NotEqualsSubstitution (LaunchConfiguration ('namespace' ), '' )),
126
+ # condition=IfCondition(NotEqualsSubstitution(LaunchConfiguration('namespace'), '')),
127
+ condition = IfCondition (PythonExpression (["'" ,
128
+ LaunchConfiguration ('namespace' ),
129
+ "' != ''" ,])),
127
130
namespace = namespace ),
128
131
LoadComposableNodes (
129
132
target_container = container_name_full ,
You can’t perform that action at this time.
0 commit comments