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

How to set namespace for tf?

asked 2016-01-03 04:07:10 -0500

somebodyus gravatar image

I am currently using multimaster_fkie to communicate between two robots. I can set namespace for all nodes and topics, but I cannot set namespace for the tf trees. The tf frames are conflict with each other.

Is there any solution?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-10-09 01:45:55 -0500

Will Chamberlain gravatar image

updated 2018-10-09 01:46:24 -0500

tf_prefix might work, but not all codebases implement it. See https://answers.ros.org/question/2394... for an example of it in a launch file, but briefly

<launch>
    <!--Set the namespace, and add tf_prefix-->
    <group ns="pinky">
    <param name="tf_prefix" value="pinky" />
    ... nodes , etc ...
edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2016-01-03 04:07:10 -0500

Seen: 913 times

Last updated: Oct 09 '18