So I've decided to try and create a blanket for ignition just to practice on my skill. So I came up with an idea by import a piece of blanket over and over.
So, I wanted to try one piece only.
This is a piece of blanket which is ready to be imported by another file.
So, I created a different file just to import a piece of blanket.
This section doesn't allow me to import due to no file found:
<include>
<static>false</static>
<name>piece_00</name>
<pose>0 0 0 0 0 0</pose>
<uri>blanket.sdf</uri>
</include>
But I have the blanket.sdf in the same folder as this file.
So the error output is this:
[Err] [Server.cc:183] Error Code 13: [/sdf/world[@name="testing_physics"]/include[0]/uri:/home/bwuk/Ignition-Gazebo-blanket/model/blanket_in_a_world.sdf:L44]: Msg: Unable to find uri[model://blanket.sdf]
bwuk@robots:~/Ignition-Gazebo-blanket$ ign gazebo -r model/blanket_in_a_world.sdf
[Err] [Server.cc:183] Error Code 13: [/sdf/world[@name="testing_physics"]/include[0]/uri:/home/bwuk/Ignition-Gazebo-blanket/model/blanket_in_a_world.sdf:L44]: Msg: Unable to find uri[blanket.sdf]
bwuk@robots:~/Ignition-Gazebo-blanket$ ign gazebo -r model/blanket_in_a_world.sdf
[Err] [Server.cc:183] Error Code 13: [/sdf/world[@name="testing_physics"]/include[0]/uri:/home/bwuk/Ignition-Gazebo-blanket/model/blanket_in_a_world.sdf:L44]: Msg: Unable to find uri[blanket]
bwuk@robots:~/Ignition-Gazebo-blanket$ ign gazebo -r model/blanket_in_a_world.sdf
[Err] [Server.cc:183] Error Code 13: [/sdf/world[@name="testing_physics"]/include[0]/uri:/home/bwuk/Ignition-Gazebo-blanket/model/blanket_in_a_world.sdf:L44]: Msg: Unable to find uri[model://blanket.sdf]
bwuk@robots:~/Ignition-Gazebo-blanket$ ign gazebo -r model/blanket_in_a_world.sdf
[Err] [Server.cc:183] Error Code 13: [/sdf/world[@name="testing_physics"]/include[0]/uri:/home/bwuk/Ignition-Gazebo-blanket/model/blanket_in_a_world.sdf:L84]: Msg: Unable to find uri[model://blanket.sdf]
bwuk@robots:~/Ignition-Gazebo-blanket$ ign gazebo -r model/blanket_in_a_world.sdf
[Err] [Server.cc:183] Error Code 13: [/sdf/world[@name="testing_physics"]/include[0]/uri:/home/bwuk/Ignition-Gazebo-blanket/model/blanket_in_a_world.sdf:L84]: Msg: Unable to find uri[model://blanket]
bwuk@robots:~/Ignition-Gazebo-blanket$ ign gazebo -r model/blanket_in_a_world.sdf
[Err] [Server.cc:183] Error Code 13: [/sdf/world[@name="testing_physics"]/include[0]/uri:/home/bwuk/Ignition-Gazebo-blanket/model/blanket_in_a_world.sdf:L84]: Msg: Unable to find uri[blanket]
bwuk@robots:~/Ignition-Gazebo-blanket$ ign gazebo -r model/blanket_in_a_world.sdf
[Err] [Server.cc:183] Error Code 13: [/sdf/world[@name="testing_physics"]/include[0]/uri:/home/bwuk/Ignition-Gazebo-blanket/model/blanket_in_a_world.sdf:L84]: Msg: Unable to find uri[blanket.sdf]
As you can see I tried all different ways.
What is the right way to import a model from other file?
Version: Fortress. (I'm addicted with this one!)
Originally posted by kakcalu13 on Gazebo Answers with karma: 87 on 2022-01-16
Post score: 0