launch_ros.utilities.to_parameters_list module
Module with utility to transform evaluated parameters into parameter lists.
- launch_ros.utilities.to_parameters_list.to_parameters_list(context: launch.launch_context.LaunchContext, node_name: str, namespace: str, evaluated_parameters: Sequence[Path | Parameter | Dict[str, str | int | float | bool | Sequence[str] | Sequence[int] | Sequence[float] | Sequence[bool] | bytes]]) List[rclpy.parameter.Parameter]
Transform evaluated parameters into a list of rclpy.parameter.Parameter objects.
- Parameters:
context – to carry out substitutions during normalization of parameter files. See normalize_parameters() documentation for further reference.
node_name – node name
namespace – node namespace
parameters – parameters as either paths to parameter files or name/value pairs. See evaluate_parameters() documentation for further reference.
- Returns:
a list of parameters