-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
transform is broken with relative topics in namespaces #95
Comments
Update: it seems that relay_field also has this same problem. |
Does it work if you do |
It works if I use |
Thanks for confirming. We're using |
It looks to me like these lines won't work correctly if the namespace doesn't end in '/': Appending '/' to the |
Oops sorry, I completely missed that I thought that topic name resolution was something that's usually left to the client library implementation. |
Description
The transform tool fails to properly resolve the names of topics specified as relative to a non-root namespace.
Expected Behavior
Tool runs, subscribes to
/my_namespace/chatter
and emits/my_namespace/xformed
.Actual Behavior
Tool stalls with:
To Reproduce
ros2 run demo_nodes_cpp talker --ros-args -r __ns:=/my_namespace
ros2 run topic_tools transform chatter xformed std_msgs/String "std_msgs.msg.String(data=m.data[-1])" --import std_msgs --wait-for-start --ros-args -r __ns:=/my_namespace
System (please complete the following information)
Additional context
The text was updated successfully, but these errors were encountered: