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

Public Member Functions

None __init__ (self, str name)
 
str perform (self, LaunchContext context)
 
str describe (self)
 

Detailed Description

Converts a LaunchConfiguration value into a normalized boolean string: 'true' or 'false'.

Allows CLI arguments like 'True', 'true', '1', 'yes' and 'False', 'false', '0', 'no'.
Returns a string 'true' or 'false' for use in PythonExpression and IfCondition contexts.

Definition at line 21 of file launch_config_as_bool.py.


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