Commit 3e4be202 authored by Justin Carpentier's avatar Justin Carpentier Committed by GitHub
Browse files

Merge pull request #368 from jmirabel/devel

[Minor][C++] Homogenize behaviour of URDF regarding root joint.
parents 9a19534a a4b71889
......@@ -493,7 +493,8 @@ namespace se3
///
void parseRootTree (::urdf::LinkConstPtr root_link, Model & model, const bool verbose) throw (std::invalid_argument)
{
appendBodyToJoint(model, 0, root_link->inertial, SE3::Identity(), root_link->name);
addFixedJointAndBody(model, 0, SE3::Identity(), "root_joint",
root_link->inertial, root_link->name);
BOOST_FOREACH(::urdf::LinkPtr child, root_link->child_links)
{
......
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