From 90d914a5e9d1bfc4d807836ef9b7bcece84de091 Mon Sep 17 00:00:00 2001 From: Federico Ciresola Date: Thu, 11 Apr 2024 15:44:58 +0200 Subject: [PATCH] Replace SetEnvironmentVariable with AppendEnvironmentVariable in ignition.launch.py --- .../launch/ignition.launch.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/irobot_create_ignition/irobot_create_ignition_bringup/launch/ignition.launch.py b/irobot_create_ignition/irobot_create_ignition_bringup/launch/ignition.launch.py index 835cc937..7de5822c 100644 --- a/irobot_create_ignition/irobot_create_ignition_bringup/launch/ignition.launch.py +++ b/irobot_create_ignition/irobot_create_ignition_bringup/launch/ignition.launch.py @@ -9,7 +9,7 @@ from launch import LaunchDescription from launch.actions import DeclareLaunchArgument -from launch.actions import IncludeLaunchDescription, SetEnvironmentVariable +from launch.actions import IncludeLaunchDescription, AppendEnvironmentVariable from launch.launch_description_sources import PythonLaunchDescriptionSource from launch.substitutions import LaunchConfiguration, PathJoinSubstitution from launch_ros.actions import Node @@ -37,7 +37,7 @@ def generate_launch_description(): 'ros_ign_gazebo') # Set Ignition resource path - ign_resource_path = SetEnvironmentVariable(name='IGN_GAZEBO_RESOURCE_PATH', + ign_resource_path = AppendEnvironmentVariable(name='IGN_GAZEBO_RESOURCE_PATH', value=[os.path.join( pkg_irobot_create_ignition_bringup, 'worlds'), ':' + @@ -45,7 +45,7 @@ def generate_launch_description(): pkg_irobot_create_description). parent.resolve())]) - ign_gui_plugin_path = SetEnvironmentVariable(name='IGN_GUI_PLUGIN_PATH', + ign_gui_plugin_path = AppendEnvironmentVariable(name='IGN_GUI_PLUGIN_PATH', value=[os.path.join( pkg_irobot_create_ignition_plugins, 'lib')])