Open ryanewel opened 5 years ago
I can reproduce this (with an existing package_name
and executable_name
).
Indeed. Currently we do not support substitutions as launch.actions.ExecuteProcess
' output argument (see constructor).
I don't see why we couldn't though, a launch context is available when that output configuration is first used (see here).
@ryanewel @tobiasneumann would you be willing to contribute a patch?
I'm sorry, I can not contribute since my experience and knowledge of python is minimal.
@hidmic Are there any plans to include substitutions in the launch description. In my case, I made the namespace , a parameter dependent on the launch argument "robot
But instead of this behaviour, I am receiving this error - rclpy.exceptions.InvalidNamespaceException: Invalid namespace: namespace must not contain characters other than alphanumerics, '_', or '/': '/robot<launch.substitutions.launch_configuration.LaunchConfiguration object at 0x7fc6c9b48a30>'
Please ;et me know in case my use case and example is not clear.
Any updates on this topic? It seems to still exist in ROS Galactic.
Bug report
Required Info:
Steps to reproduce issue
Using a launch file like:
Then run:
Expected behavior
I would expect the output to default to 'screen', but be settable from the cli with
output:=log
or from another launch file that includes this one.Actual behavior
Launch fails with message
Additional information
Feature request
Feature description
Implementation considerations