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

Running turtlebot simulator in willow garage world

asked 2012-02-09 01:36:57 -0500

Patrick gravatar image

Im trying to run my turtlebot simulator in the willow garage world in gazebo and im wondering the best way of going about it, if anyone has any idea i would be grateful.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2012-02-09 02:24:12 -0500

DimitriProsser gravatar image

Use this launch file:

 <launch>
   <!-- start gazebo with an empty plane -->
   <param name="/use_sim_time" value="true" />

   <node name="gazebo" pkg="gazebo" type="gazebo" args="$(find gazebo_worlds)/worlds/wg.world" respawn="false" output="screen"/>


   <include file="$(find turtlebot_gazebo)/launch/robot.launch"/>
 </launch>
edit flag offensive delete link more

Comments

Hi,how can i do this with ros hydro?I have tried your solution but it did not work for me.i use ros hydro and gazebo 1.9.1 Thanks.

ali ekber celik gravatar image ali ekber celik  ( 2013-11-16 01:50:49 -0500 )edit
2

answered 2017-10-27 15:18:15 -0500

bpinaya gravatar image

Note that the solution above doesn't work for ROS Indigo and above. I got this to work:

<include file="$(find gazebo_ros)/launch/willowgarage_world.launch">

Good luck!

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-02-09 01:36:57 -0500

Seen: 1,818 times

Last updated: Feb 09 '12