Skip to content

Commit b431784

Browse files
author
Roger Strain
committed
Add node prefix to command line remaps
1 parent 2e498f1 commit b431784

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
@@ -215,7 +215,7 @@ def _create_params_file_from_dict(self, params):
215215

216216
def _get_parameter_rule(self, param: 'Parameter', context: LaunchContext):
217217
name, value = param.evaluate(context)
218-
return f'{name}:={yaml.dump(value)}'
218+
return f'{self.__expanded_node_name}:{name}:={yaml.dump(value)}'
219219

220220
def prepare(self, context: LaunchContext, executable: Executable, action: Action) -> None:
221221
self._perform_substitutions(context, executable.cmd)

0 commit comments

Comments
 (0)