Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced SetEnvironmentVariable with AppendEnvironmentVariable in ignition.launch.py #228

Open
wants to merge 1 commit into
base: humble
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading