Skip to content

Commit

Permalink
Updated rs_launch node params
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun-Prasad-V committed Aug 17, 2023
1 parent 95bdff0 commit e46c826
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions realsense2_camera/launch/rs_launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,25 +104,25 @@ def launch_setup(context, params, param_name_suffix=''):
return [
launch_ros.actions.Node(
package = 'realsense2_camera',
node_namespace = params['camera_namespace' + param_name_suffix],
node_name = params['camera_name' + param_name_suffix],
node_namespace = params['camera_namespace'],
node_name = params['camera_name'],
node_executable = 'realsense2_camera_node',
prefix = ['stdbuf -o L'],
parameters = [params],
output = 'screen',
arguments = ['--ros-args', '--log-level', params['log_level' + param_name_suffix]],
arguments = ['--ros-args', '--log-level', params['log_level']],
)
]
else:
return [
launch_ros.actions.Node(
package = 'realsense2_camera',
namespace = params['camera_namespace' + param_name_suffix],
name = params['camera_name' + param_name_suffix],
namespace = params['camera_namespace'],
name = params['camera_name'],
executable = 'realsense2_camera_node',
parameters = [params],
output = 'screen',
arguments = ['--ros-args', '--log-level', params['log_level' + param_name_suffix]],
arguments = ['--ros-args', '--log-level', params['log_level']],
emulate_tty = True,
)
]
Expand Down

0 comments on commit e46c826

Please sign in to comment.