Can we include launch file descriptions that are written in some other langauge?
Is there a possibility to include launch file description written in, for example, XML or YAML, into a launch file description written in Python?
For example, doing something like this in a Python launch file description?
def generate_launch_description():
turtlesim_world_1 = IncludeLaunchDescription(
PythonLaunchDescriptionSource([os.path.join(
get_package_share_directory('launch_tutorial'), 'launch'),
'/turtlesim_world_1.xml'])
)
return LaunchDescription([
turtlesim_world_1,
])