Gazebo | Ignition | Community
Ask Your Question
0

How to launch an sdf file?

asked 2018-02-12 15:41:39 -0500

norah gravatar image

I want to use a launch file to open my robot which is written in an .sdf file. what should I write in the launch file?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-02-12 20:16:35 -0500

chapulina gravatar image

I assume you mean a ROS launch file. Check out this tutorial, basically:

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

Comments

Where to add SDF file?

askkvn gravatar imageaskkvn ( 2019-05-21 07:36:06 -0500 )edit

The value will be the full path to the SDF file

chapulina gravatar imagechapulina ( 2019-05-21 11:52:16 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-02-12 15:41:39 -0500

Seen: 9,642 times

Last updated: Feb 12 '18