Skip to content

Declare Boolean Launch Argument#944

Open
DLu wants to merge 1 commit intoros2:rollingfrom
DLu:declare_boolean_launch
Open

Declare Boolean Launch Argument#944
DLu wants to merge 1 commit intoros2:rollingfrom
DLu:declare_boolean_launch

Conversation

@DLu
Copy link
Contributor

@DLu DLu commented Feb 12, 2026

Description

Just a bit of syntactic sugar to make it easier to use boolean launch arguments. It tidies up launch files and avoids capitalization errors like

[ERROR] [launch.actions.declare_launch_argument]: Argument "use_rviz" provided value "True" is not valid. Valid options are: ['true', 'false']

Is this user-facing behavior change?

Yes, it adds a new shortcut.

Did you use Generative AI?

No.

Signed-off-by: David V. Lu <davidvlu@gmail.com>
@DLu DLu force-pushed the declare_boolean_launch branch from b9a74c2 to b1917ec Compare February 12, 2026 20:46
@DLu
Copy link
Contributor Author

DLu commented Feb 12, 2026

Current results for a preliminary GitHub search of potential usage: 1.2K

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant