Ask Your Question

TurtleBot Moves in Real Environment and Gazebo World

asked 2013-04-07 02:14:03 -0500

Amal gravatar image

updated 2013-04-28 23:26:16 -0500

ipso gravatar image

Hi All, I build environment in gazbo, and run make turtlebot move in it and draw map in rviz.

What I want to do know, is to give turtlebot move commands so it move in real environment and move in gazebo and draw map in Rviz all at the same time ..

What i found is that command go to gazebo or real robot but not the two

here is all [Topics] run (/upfiles/13653369789478456.png)


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-04-07 08:38:28 -0500

SL Remy gravatar image

You can run both robots (simulation and real) in their own name spaces.. The robot in gazebo and the real robot can subscribe to the same Twist topic (e.g. /cmd_vel).

If you do this, then both robots will move. You will need to pick one of them to generate the map depending on what it is that you're actually trying to accomplish.

There are no guarantees that the robots will be in the same place when the sequence of Twist messages have been executed due to things like friction and simulation approximations.

edit flag offensive delete link more


Thank I will try this .... :

do you know the scale of Gazebo Grid?!


Amal gravatar image Amal  ( 2013-04-09 14:50:53 -0500 )edit

Not sure what you mean.. but this link may provide you with more information to help ask the question (or maybe even to answer it!)

SL Remy gravatar image SL Remy  ( 2013-04-10 03:29:01 -0500 )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


Asked: 2013-04-07 02:14:03 -0500

Seen: 449 times

Last updated: Apr 07 '13