launch_param_builder.launch_param_builder module

class launch_param_builder.launch_param_builder.ParameterBuilder(package_name: str)

Bases: object

file_parameter(parameter_name: str, file_path: str)

@deprecated: Use ‘yaml’ method instead.

parameter(parameter_name: str, parameter_value: str | int | float | bool | List[str] | List[int] | List[float] | List[bool] | bytes)

@summary: Set ‘parameter_name’ = ‘parameter_value’. @return The instance itself.

path_parameter(parameter_name: str, file_path: str)
to_dict()
xacro_parameter(parameter_name: str, file_path: str, mappings: dict = None)
yaml(file_path: str, parameter_namespace: str = None)
@param file_path: Path of the yaml file UNDER the top level directory

of ‘package_name’ that is passed to the ‘ParameterBuilder’s constructor. E.g. If the yaml file is at %TOPDIR_PKG%/conf/foo.yaml,

pass file_path = “conf/foo.yaml”

@return The instance itself.