Skip to content

image_transport republish broken on Foxy? #171

@KenYN

Description

@KenYN

I have the latest version installed, and I do the following:

$ ros2 topic list
/bar
/foo
/parameter_events
/rosout

OK, a couple of left-over topics (how do I flush everything out?) but otherwise OK

$ ros2 run image_transport republish compressed --ros-args --remap in:=/woo -- --ros-args --remap out:=/bazzle -- &
[1] 1661358
$ ros2 topic list
/bar
/bazzle
/foo
/in/compressed
/out/compressed
/parameter_events
/rosout

Oops, I expect to see:

$ ros2 run image_transport republish compressed --ros-args --remap in:=/woo -- --ros-args --remap out:=/bazzle -- &
[1] 1661358
$ ros2 topic list
/bar
/bazzle
/bazzle/compressed
/foo
/woo
/woo/compressed
/parameter_events
/rosout

It looks to me like the remapping has not been applied. I see the same problem with image_transport::create_subscription() and using ComposableNode(..., remappings=[]). remappings works fine, however, when using rclcpp::Node::create_subscription().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions