Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions launch_ros/launch_ros/actions/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,10 @@ def _create_params_file_from_dict(self, params):
self.node_name if self.is_node_name_fully_specified() else '/**':
{'ros__parameters': params}
}

def quoted_representor(dumper, data):
return dumper.represent_scalar('tag:yaml.org,2002:str', data, style='"')
yaml.add_representer(str, quoted_representor)
yaml.dump(param_dict, h, default_flow_style=False)
return param_file_path

Expand Down