Skip to content
Snippets Groups Projects
Commit 40ced7ec authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

Update to API changes of Joint

parent 88cf8030
No related branches found
No related tags found
No related merge requests found
...@@ -1106,7 +1106,7 @@ namespace hpp { ...@@ -1106,7 +1106,7 @@ namespace hpp {
BOOST_FOREACH (const se3::FrameIndex& f, robot.frameIndices.get (od.name)) { BOOST_FOREACH (const se3::FrameIndex& f, robot.frameIndices.get (od.name)) {
if (model.frames[f].type != se3::JOINT) continue; if (model.frames[f].type != se3::JOINT) continue;
const JointIndex j = model.frames[f].parent; 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 ()); LiegroupSpacePtr_t space (oj->configurationSpace ());
LiegroupElement lge (robot.currentConfiguration() LiegroupElement lge (robot.currentConfiguration()
.segment (oj->rankInConfiguration (), .segment (oj->rankInConfiguration (),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment