ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

ros2 remapping wildcard

asked 2023-06-27 05:09:01 -0600

SébastienL gravatar image

Hello,

I try to remap a set of topic using the '**' wildcard as explain in http://design.ros2.org/articles/stati...

I got the error :

rclpy._rclpy_pybind11.RCLError: failed to initialize rcl: Couldn't parse remap rule: '-r /fmu/in/**:=/px4_1/\1'. Error: Wildcard '**' is not implemented, at ./src/rcl/arguments.c:1167, at ./src/rcl/arguments.c:371

Have I written the rule wrong or does this wildcard really not implemented ?

Note: I got the same behaviour with '*'.

extract from my yaml file

  - node:
      remap:
        -
          from: '/fmu/*'
          to: '/px4_$(var i)/fmu/\\1'
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2023-06-29 14:59:13 -0600

jrtg gravatar image

I am going to give you the answer you don't want to hear:

It is not implemented yet. See these issues:

https://github.com/ros2/rcl/issues/232 https://github.com/ros2/rcl/issues/233 https://github.com/ros2/rcl/issues/234

At least now you know... 😐

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2023-06-27 05:09:01 -0600

Seen: 565 times

Last updated: Jun 29 '23