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

How to launch two turtlebots on one ROS master

asked 2021-12-07 06:27:01 -0500

Alex2008 gravatar image

updated 2022-02-18 13:20:10 -0500

lucasw gravatar image

Hi Everybody,

For my project I have to navigate two Turtlebot3's parallel to each other. To do this, I want to send way-points to both turtlebot's simultaneously, using one ROSmaster (my laptop). Sending way-points to one turtlebot works fine, but I can't figure out how to connect both turtlebots to the ROSmaster at the same time. Does anybody know how to connect two turtlebots3 to one ROSmaster or where I have to start searching?

I'm using ROS1 Melodic and turtlebot3.

Thanks in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-12-07 15:51:04 -0500

GeorgNo gravatar image

You need to set for each turtlebot a seperate namespace and tf_prefix.

edit flag offensive delete link more

Comments

Do I need to do this before launching connecting the robots with ssh ubuntu@...? or when the first robot is connected?

Alex2008 gravatar image Alex2008  ( 2021-12-10 04:07:27 -0500 )edit

This needs to be done in the launchfiles of each robot

GeorgNo gravatar image GeorgNo  ( 2021-12-27 01:55:08 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2021-12-07 06:27:01 -0500

Seen: 141 times

Last updated: Dec 07 '21