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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 496 times

Last updated: Oct 09 '18