Nav2 Navigation Stack - rolling  main
ROS 2 Navigation Stack
Public Member Functions | List of all members
nav2_common.launch.replace_string.ReplaceString Class Reference
Inheritance diagram for nav2_common.launch.replace_string.ReplaceString:
Inheritance graph
[legend]
Collaboration diagram for nav2_common.launch.replace_string.ReplaceString:
Collaboration graph
[legend]

Public Member Functions

None __init__ (self, launch.SomeSubstitutionsType source_file, dict[str, launch.SomeSubstitutionsType] replacements, Optional[launch.Condition] condition=None)
 
list[launch.Substitution] name (self)
 
Optional[launch.Condition] condition (self)
 
str describe (self)
 
str perform (self, launch.LaunchContext context)
 
dict[str, str] resolve_replacements (self, launch.LaunchContext context)
 
None replace (self, IO[str] input_file, IO[str] output_file, dict[str, str] replacements)
 

Detailed Description

Substitution that replaces strings on a given file.

Used in launch system

Definition at line 21 of file replace_string.py.

Member Function Documentation

◆ condition()

Optional[launch.Condition] nav2_common.launch.replace_string.ReplaceString.condition (   self)
Getter for condition.

Definition at line 55 of file replace_string.py.

References nav2_common.launch.replace_string.ReplaceString.__condition.

◆ describe()

str nav2_common.launch.replace_string.ReplaceString.describe (   self)

◆ name()

list[launch.Substitution] nav2_common.launch.replace_string.ReplaceString.name (   self)

The documentation for this class was generated from the following file: