Skip to content

Commit

Permalink
use PARAMETER_SEPARATOR_STRING constant
Browse files Browse the repository at this point in the history
  • Loading branch information
MarqRazz committed Jul 17, 2024
1 parent 96b4ab2 commit 6897fd1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def unpack_parameter_dict(namespace: str, parameter_dict: dict):
# Unroll nested parameters
if isinstance(param_value, dict):
nested_params = unpack_parameter_dict(
namespace=full_param_name + '.',
namespace=full_param_name + rclpy.parameter.PARAMETER_SEPARATOR_STRING,
parameter_dict=param_value)
parameters.extend(nested_params)
else:
Expand Down

0 comments on commit 6897fd1

Please sign in to comment.