Robotics StackExchange | Archived questions

How to set namespace for tf?

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?

Asked by somebodyus on 2016-01-03 05:07:10 UTC

Comments

Answers

tf_prefix might work, but not all codebases implement it. See https://answers.ros.org/question/239487/changing-tf_prefix-for-turtlebot/ 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 ...

Asked by Will Chamberlain on 2018-10-09 01:45:55 UTC

Comments