Skip to content

Commit

Permalink
Replace SetEnvironmentVariable with AppendEnvironmentVariable in igni…
Browse files Browse the repository at this point in the history
…tion.launch.py
  • Loading branch information
federicociresola authored Apr 11, 2024
1 parent 6a8bc44 commit 90d914a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -37,15 +37,15 @@ 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'), ':' +
str(Path(
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')])
Expand Down

0 comments on commit 90d914a

Please sign in to comment.