Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

evaluation of expressions in roslaunch#627

Closed
rhaschke wants to merge 0 commit intoros:indigo-develfrom
ubi-agni:indigo-devel
Closed

evaluation of expressions in roslaunch#627
rhaschke wants to merge 0 commit intoros:indigo-develfrom
ubi-agni:indigo-devel

Conversation

@rhaschke
Copy link
Copy Markdown
Contributor

The evaluation capabilities of roslaunch are currently rather limited.
Particularly, the conditionals of if/ unless tags are only evaluated w.r.t. 0,1,true,false. Having more general expressions, e.g. general comparison ($(arg foo) == 'bar') would be great.
The same applies for definition of arg values.

This PR proposes a simple solution to both problems.
Instead of limiting the extensions to ifunless_test() and _arg_tag(), but integrating them into xmlloader.opt_attrs() one could enable expression evaluation for all attributes.

@ros-pull-request-builder
Copy link
Copy Markdown
Member

Can one of the admins verify this patch?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants