Setting roslaunch param via command with specific env var set
I need to specify a parameter in a launch file via <param name="test" command="mycommand"/>
, where command requires an environment variable to be set. Is there a simple and clean way to do this?
Until now I have only come up with ... command="bash -c 'X=true mycommand'" />
, which seems somewhat hacky.