Skip to content

launch: Added is-empty and not-empty substitutions. - #998

Open
peci1 wants to merge 1 commit into
ros2:rollingfrom
peci1:is-empty-substitution
Open

launch: Added is-empty and not-empty substitutions.#998
peci1 wants to merge 1 commit into
ros2:rollingfrom
peci1:is-empty-substitution

Conversation

@peci1

@peci1 peci1 commented Aug 24, 2026

Copy link
Copy Markdown

Description

Added IsEmpty and NotEmpty substitutions to check for string (non-)emptiness.

I didn't succeed using the existing $(equals $(var a) ''). There is a workaround: $(equals $(var a)a a) but I think these substitutions would be much better.

Is this user-facing behavior change?

Yes, new substitutions are added. No existing valid launch files will differ in their behavior.

Did you use Generative AI?

Yes, basically the whole code is generated by Qwen 3.5 122b in Junie agent. I've manually verified the implementation and read all the code. There's nothing that could be marked as copyright infringement as most of the code is trivial.

Additional Information

Assisted-by: qwen3.5-122b via Jetbrains Junie agent
Signed-off-by: Martin Pecka <peckama2@fel.cvut.cz>
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