Skip to content

Commit ab41ef4

Browse files
Roger Strainmlanting
authored andcommitted
Fix missing node name parameter
Distro A; OPSEC #4584 Signed-off-by: Roger Strain <[email protected]>
1 parent e6a2b99 commit ab41ef4

File tree

1 file changed

+2
-0
lines changed
  • launch_ros/launch_ros/descriptions

1 file changed

+2
-0
lines changed

launch_ros/launch_ros/descriptions/node.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ def _perform_substitutions(self, context: LaunchContext, cmd: List) -> None:
229229
if self.__node_name is not None:
230230
self.__expanded_node_name = perform_substitutions(
231231
context, normalize_to_list_of_substitutions(self.__node_name))
232+
cmd_ext = ['-r', LocalSubstitution("ros_specific_arguments['name']")]
233+
cmd.extend([normalize_to_list_of_substitutions(x) for x in cmd_ext])
232234
validate_node_name(self.__expanded_node_name)
233235
self.__expanded_node_name.lstrip('/')
234236
expanded_node_namespace: Optional[Text] = None

0 commit comments

Comments
 (0)