Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I have changed the way that I define the params for image_transport:

def generate_launch_description():
    return launch.LaunchDescription([
        launch_ros.actions.Node(package='image_tools', node_executable='cam2image', output='screen', node_name='cam2image'),
        launch_ros.actions.Node(package='image_transport', node_executable='republish', output='screen', node_name='republish', remappings=[
            ('in', 'image'),
            ('out', '/camera/image_raw')
        ], arguments=['raw'])
    ])

It actually work. I checked with RQT and I can see source and target topics being created and populated: republish is doing his job, it just doesnt produce any log. I should have checked first, sorry!

Cheers.