separate actor from world
Hi,
i want to separate the actor from the world file. The actor is created according to this tutorial: http://gazebosim.org/tutorials?tut=actor&cat=build_robot
I moved the
<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?
Asked by Enif25 on 2020-04-15 04:00:41 UTC
Answers
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">
<skin>
<filename>../../src/actor_pkg/animations/my_animation.dae</filename>
</skin>
<animation name="animation">
<filename>../../src/actor_pkg/animations/my_animation.dae</filename>
</animation>
</actor>
</sdf>
Reminder: the root of <filename>
is in catkin_ws/devel/lib
.
Asked by JakobThumm on 2021-05-19 08:41:33 UTC
Comments