Gazebo | Ignition | Community
Ask Your Question

separate actor from world

asked 2020-04-15 04:00:41 -0500

Enif25 gravatar image

updated 2020-04-15 05:22:04 -0500


i want to separate the actor from the world file. The actor is created according to this tutorial:

I moved the <actor> in another sdf file and the launch file should spawn it with

<node> pkg="gazebo_ros" type="spawn_model" name="actor1" args="-sdf -file /path/actor.sdf -model spawn_model"/>

This is apparently not working, the world is launched by the launch file, but the actor from this node is not in the world.

How can I separate the actor?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-05-19 08:44:28 -0500

JakobThumm gravatar image

Make sure the path to the dae files in the sdf can be found. Example model.sdf:

<?xml version="1.0"?>
<sdf version="1.5">
<actor name="actor">
  <animation name="animation">

Reminder: the root of <filename> is in catkin_ws/devel/lib.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-04-15 04:00:41 -0500

Seen: 238 times

Last updated: May 19 '21