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().
I have the latest version installed, and I do the following:
OK, a couple of left-over topics (how do I flush everything out?) but otherwise OK
Oops, I expect to see:
It looks to me like the remapping has not been applied. I see the same problem with
image_transport::create_subscription()and usingComposableNode(..., remappings=[]).remappingsworks fine, however, when usingrclcpp::Node::create_subscription().