-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Substitutions for string manipulations and xacro #741
Comments
I did the same with Python expression for ".sdf". That was the exact thing I tried, to use a list with TextSubstitution, but then I discovered that it was not possible. Nice suggestion! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature request
Feature description
Coming back with another request for a substitution... I tried using a path join substitution with a filename that depends on a launch configuration. The path join substitution does not allow one to concatenate parts of a filename. It ended up using a python expression.
Implementation considerations
I would have hoped that text substitution could take multiple texts so that I could do
But this is not compatible, given how text substitution was put together.
So, how about having a substitution that concatenates strings and then also having the separator parameterized?
In the simple case, one would do
And then, this could be used in other practical ways, for example, to create a xacro substitution
The text was updated successfully, but these errors were encountered: