Skip to content

Commit

Permalink
Correct debayer node and add remapping
Browse files Browse the repository at this point in the history
  • Loading branch information
hilary-luo committed Sep 28, 2023
1 parent e9d7fc8 commit 7bceaf6
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions clearpath_sensors/launch/flir_blackfly.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def generate_launch_description():
'config',
'flir_blackfly.yaml'
]))

arg_param_mapping_file = DeclareLaunchArgument(
'param_mapping_file',
default_value=PathJoinSubstitution([
Expand All @@ -64,14 +64,24 @@ def generate_launch_description():
executable='camera_driver_node',
parameters=[parameters, {'parameter_file': param_mapping_file,}],
output='screen',
remappings=[
('flir_blackfly/camera_info', 'color/camera_info'),
('flir_blackfly/control', 'control'),
('flir_blackfly/image_raw', 'image_raw'),
('flir_blackfly/meta', 'meta'),
]
)

debayer_node = Node(
package='image_proc',
namespace=namespace,
name='debayer_node',
plugin='image_proc::DebayerNode',
executable='image_proc',
output='screen',
remappings=[
('image_color', 'color/image')
('image_mono', 'mono/image')
]
)

ld = LaunchDescription()
Expand Down

0 comments on commit 7bceaf6

Please sign in to comment.