From 40ced7ecffc5fc4601a04a3926d778496df6aaca Mon Sep 17 00:00:00 2001 From: Joseph Mirabel <jmirabel@laas.fr> Date: Wed, 5 Dec 2018 14:10:46 +0100 Subject: [PATCH] Update to API changes of Joint --- src/graph/helper.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graph/helper.cc b/src/graph/helper.cc index 66598e5..2531b0f 100644 --- a/src/graph/helper.cc +++ b/src/graph/helper.cc @@ -1106,7 +1106,7 @@ namespace hpp { BOOST_FOREACH (const se3::FrameIndex& f, robot.frameIndices.get (od.name)) { if (model.frames[f].type != se3::JOINT) continue; const JointIndex j = model.frames[f].parent; - JointPtr_t oj (new Joint (ps->robot(), j)); + JointPtr_t oj (Joint::create (ps->robot(), j)); LiegroupSpacePtr_t space (oj->configurationSpace ()); LiegroupElement lge (robot.currentConfiguration() .segment (oj->rankInConfiguration (), -- GitLab