launch_ros.substitutions.parameter module

Module for the Parameter substitution.

class launch_ros.substitutions.parameter.Parameter(*args: Any, **kwargs: Any)

Bases: Substitution

Substitution that tries to get a parameter that was set by SetParameter.

Raise:

SubstitutionFailure when param is not found

describe() str

Return a description of this substitution as a string.

property name: List[launch.substitution.Substitution]

Getter for name.

classmethod parse(data: Sequence[launch.some_substitutions_type.SomeSubstitutionsType])

Parse a Parameter substitution.

perform(context: launch.launch_context.LaunchContext) str

Perform the substitution.

launch_ros.substitutions.parameter.expose_substitution(_)