Skip to content

Commit 52972d7

Browse files
committed
Change "ros_params" string to "global_params" when getting params from
context in descriptions/node.py. Distro A, OPSEC #4584. You may have additional rights; please see https://rosmilitary.org/faq/?category=ros-2-license Signed-off-by: matthew.lanting <[email protected]>
1 parent 5d4279a commit 52972d7

File tree

1 file changed

+1
-1
lines changed
  • launch_ros/launch_ros/descriptions

1 file changed

+1
-1
lines changed

launch_ros/launch_ros/descriptions/node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def _perform_substitutions(self, context: LaunchContext, executable: Executable)
328328
self.__expanded_node_namespace, self.__expanded_node_name)
329329
# expand global parameters first,
330330
# so they can be overriden with specific parameters of this Node
331-
global_params = context.launch_configurations.get('ros_params', None)
331+
global_params = context.launch_configurations.get('global_params', None)
332332
if global_params is not None or self.__parameters is not None:
333333
self.__expanded_parameter_arguments = []
334334
if global_params is not None:

0 commit comments

Comments
 (0)