Ask Your Question
1

How to use tf in more than one robot?

asked Jan 19

ap281 gravatar image ap281
118 2 15

Hi!

I'm trying to do coperative things in between turtlebots. The thing is that first I need both robots in the same core, otherwise they can not interact. But when I put them under the same core I don't know how to solve the tf.

I've tried to push one tf to turtlebot1/tf and the other to turtlebot2/tf, but then I can not see the tf on rviz. Is it correct to do that or do I need a tf which contains all the robots? If i need this how can I start having a look at that to do it?

Thanks!

delete close flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
5

answered Jan 19

JeffRousseau gravatar image JeffRousseau
1141 15 21 34
http://jeffrousseau.info/

try setting the tf_prefix rosparam in your launch file.

http://ros.org/wiki/geometry/CoordinateFrameConventions#tf_prefix

as a word of caution: having multiple robots on a single master consumes a lot of network bandwidth (especially if they share /tf!), you may run into seemingly strange issues as the result of dropped packets. If you try and scale beyond two robots without throttled topics over a standard 802.11g wifi connection you will definitely run into bandwidth constraints and may be forced to run a single master per robot and foreign relay between them.

link delete flag offensive edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Follow
1 follower

subscribe to rss feed

Stats

Asked: Jan 19

Seen: 65 times

Last updated: Jan 19