Commit 73c8e145 authored by Nicolas Mansard's avatar Nicolas Mansard Committed by Nicolas Mansard
Browse files

Fix a bug in model loader.

parent 9b2519a4
......@@ -32,7 +32,7 @@ hpp::pinocchio::DevicePtr_t hppPinocchio( bool withGeoms, const std::string urdf
if( withGeoms )
std::vector<std::string> baseDirs; baseDirs.push_back("@ROMEO_DESCRIPTION_DATAROOTDIR@");
std::vector<std::string> baseDirs; baseDirs.push_back(ROMEO_MODEL_DIR);
hpp::pinocchio::GeomModelPtr_t geom( new se3::GeometryModel() );
se3::GeometryModel & geomRef = *geom;
geomRef = se3::urdf::buildGeom(pinocchio->model(),pinocchio->name(),baseDirs,se3::COLLISION);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment