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')])