diff --git a/src/device.cc b/src/device.cc index 36d28645..c34c1866 100644 --- a/src/device.cc +++ b/src/device.cc @@ -33,7 +33,6 @@ #include #include #include -#include #include #include #include diff --git a/src/graph/helper.cc b/src/graph/helper.cc index 671bec94..308d2c27 100644 --- a/src/graph/helper.cc +++ b/src/graph/helper.cc @@ -988,7 +988,7 @@ GraphPtr_t graphBuilder(const ProblemSolverPtr_t& ps, assert(robot.robotFrames(od.name).size() != 0); for (const FrameIndex& f : robot.robotFrames(od.name)) { if (model.frames[f].type != ::pinocchio::JOINT) continue; - const JointIndex j = model.frames[f].parent; + const JointIndex j = model.frames[f].parentJoint; JointPtr_t oj(Joint::create(ps->robot(), j)); LiegroupSpacePtr_t space(oj->configurationSpace()); LiegroupElement lge(robot.currentConfiguration().segment( diff --git a/src/handle.cc b/src/handle.cc index e7fdf038..01370753 100644 --- a/src/handle.cc +++ b/src/handle.cc @@ -34,7 +34,6 @@ #include #include #include -#include #include #include #include diff --git a/src/path-planner/states-path-finder.cc b/src/path-planner/states-path-finder.cc index 0a820809..a59cb050 100644 --- a/src/path-planner/states-path-finder.cc +++ b/src/path-planner/states-path-finder.cc @@ -40,7 +40,6 @@ #include #include #include -#include #include #include #include diff --git a/src/steering-method/cross-state-optimization.cc b/src/steering-method/cross-state-optimization.cc index 6da90a05..95cb81d9 100644 --- a/src/steering-method/cross-state-optimization.cc +++ b/src/steering-method/cross-state-optimization.cc @@ -37,7 +37,6 @@ #include #include #include -#include #include #include #include