ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
As far as I understood, tf
does not take into account any namespaces. Instead, every node that uses tf
will accept a tf_prefix
rosparam which will act similar to namespace in tf
tree (this is done somehow by magic!). However, if you explicitly put a slash in front of a frame_id in any tf
function, the tf_prefix
will be ignored.
When using view_frame
or tf_echo
both /ens1/map
and ens1/map
are the same (no tf_prefix), however if a tf_prefix
is set, the second one will become prefix/ens1/map
while the first one will be the same.
I am not completely sure, but I think robot-specific frames should never be referenced in your code with a forward slash prefix.