ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Looks like if you specify a path to a topic without leading /
the whole string is treated as a topic name and it cannot be found. So remapping from foo
to bar
will work, but baz/foo
to bar
will not.
Specifying the absolute path to the topic to be remapped solves it, i.e. remapping from /baz/foo
to bar
will result in /baz/bar
and from /baz/foo
to /bar
gives /bar
.
P.S. Honestly remapping is very confusing technic and I personally prefer to specify topic names as node parameters.
2 | No.2 Revision |
Looks like if you specify a path to a topic without leading /
the whole string is treated as a topic name and it obviously cannot be found. So remapping from foo
to bar
will work, but baz/foo
to bar
will not.
Specifying the absolute path to the topic to be remapped solves it, i.e. remapping from /baz/foo
to bar
will result in /baz/bar
and from /baz/foo
to /bar
gives /bar
.
P.S. Honestly remapping is very confusing technic and I personally prefer to specify topic names as node parameters.
3 | No.3 Revision |
Looks like if you specify a path to a topic without leading /
the whole string is treated as a topic name and obviously cannot be found. So remapping from foo
to bar
will work, but baz/foo
to bar
will not.
Specifying the absolute path to the topic to be remapped solves it, i.e. remapping from /baz/foo
to bar
will result in /baz/bar
and from /baz/foo
to /bar
gives /bar
.
P.S. Honestly remapping is a very confusing technic technique and I personally prefer to specify topic names as node parameters.