Gazebo | Ignition | Community
Ask Your Question

SDF file as a world in roslaunch

asked 2014-06-29 21:11:01 -0500

ranam gravatar image

I have a sdf file with all models created in it and I want the turtlebot to be automated so as to do that I need to run it as roslaunch and so I am unable to launch that sdf file as a world any pointers to tutorials is highly appreciated

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-06-30 02:04:51 -0500

ffurrer gravatar image

You can do something like:

  <include file="$(find gazebo_ros)/launch/empty_world.launch">
    <arg name="world_name" value="$(find your_gazebo_package)/worlds/"/>
edit flag offensive delete link more


where should i add these lines

ranam gravatar imageranam ( 2014-06-30 08:10:03 -0500 )edit

@ranam You should embed them in your launch file where you load your_world.

ffurrer gravatar imageffurrer ( 2014-07-02 03:25:25 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2014-06-29 21:11:01 -0500

Seen: 1,576 times

Last updated: Jun 30 '14