I'm using gazebo 2.1. Is it possible to load a standalone SDF model file that doesn't sit in a directory with model.config and model.sdf
For example, how to fix this code from the examples directory (factory.cc):
public: void Load(physics::WorldPtr _parent, sdf::ElementPtr /*_sdf*/)
{
_parent->InsertModelFile("file:///absolutepath/to/box.model");
...
Closely related question: This works in an sdf file, with a deprecation warning:
<include filename="/path/to/robot.model" model_pose="0 0 0 0 0 0"/>
But I can't figure out a working replacement for it, since if I use model:///path/to/robot.model, gazebo wants the argument to be a directory with model.sdf and model.config.
Edit: it seems like gazebo isn't distinguishing between uri arguments with file:// and model://
Originally posted by John on Gazebo Answers with karma: 3 on 2014-01-25
Post score: 0