Gazebo | Ignition | Community
Ask Your Question
0

SDF file as a world in roslaunch

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

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
1

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

ffurrer gravatar image

You can do something like:

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

Comments

where should i add these lines

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

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

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

Question Tools

Stats

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

Seen: 1,590 times

Last updated: Jun 30 '14