Call substitute for package inside launch file
Hi,
I am currently editing a launch file that I moved from one package to another. I would like to store the package name inside an argument or parameter so that I can easily substitute the name by editing the substitute. I tried something like: <arg name="" "config_pkg"="" default="pkg1"/>
Now if I want to call it inside another argument it would look like this: <arg name="rvizconfig" default="$(find 'config_pkg')/launch/panda.rviz"/>
This throws an error, is there an easy way to fix this or do I have to change all the pkg names everytime they will change?