Ask Your Question
0

multiple robots in ROS kinetic with Gazebo 7

asked 2016-12-19 23:18:34 -0600

dcconner gravatar image

updated 2016-12-19 23:20:01 -0600

Can anyone point me to a good example of using a single URDF and instantiating multiple robots in Gazebo, and also having a consistent transform (tf2) tree?

There are several instances of questions on this forum that are old, and all refer to setting the tf_prefix, which is deprecated. (c.f. http://answers.ros.org/question/41433... )

I have tried several variations of changes to name space, that will get me the robots spawning correctly in Gazebo, and topics named correctly, but the tf tree is not consistent with I view the robot model in RVIz.

I am specifically interested in the turtlebot models, but any consistent set of URDF and launch files should be sufficient to point me in the right direction with the new setup.

Or if someone can point me to an up to date tutorial I would appreciate it.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-12-20 05:47:09 -0600

gvdhoorn gravatar image

updated 2016-12-20 05:49:21 -0600

tf_prefix may be deprecated, but is afaik really the only way to get TF working with multiple robots.

As to an example, I believe the one Clearpath did is still a nice one: Simulating Multiple Husky UGVs in Gazebo.

edit flag offensive delete link more

Comments

That worked for me. I would be interested to hear from OSRF folks about their planned roadmap for handling this with tf_prefix supposedly being deprecated.

dcconner gravatar imagedcconner ( 2016-12-20 11:18:04 -0600 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-12-19 23:18:34 -0600

Seen: 535 times

Last updated: Dec 20 '16