nested substitution args in launch files
Hi,
I'm writing a launch file and I want to pass a package name as an argument. The launch file should then look for the appropriate package. I wrote the following:
<arg name="robot" default="mh5_mesh" />
<include file="$(find $(arg robot) ... />
But when I run this, roslaunch complains: Dollar signs '$' cannot be inside of substitution args
Is there any way around this? How else can I pass a variable to $(find)? Is there some other method I should be using?
Thanks!
I updated the correct answer as there has been new solutions developed since this question has been asked.