Skip to content
Snippets Groups Projects
Verified Commit 579c7f72 authored by Justin Carpentier's avatar Justin Carpentier Committed by Justin Carpentier
Browse files

[Algo/Kinematics] Remove args for the empty pass

parent f19bc156
No related branches found
No related tags found
No related merge requests found
......@@ -31,15 +31,12 @@ namespace se3
typedef ModelTpl<Scalar,Options,JointCollectionTpl> Model;
typedef DataTpl<Scalar,Options,JointCollectionTpl> Data;
typedef boost::fusion::vector<const Model &,
Data &
> ArgsType;
typedef fusion::NoArg ArgsType;
template<typename JointModel>
static void algo(const JointModelBase<JointModel> &,
JointDataBase<typename JointModel::JointDataDerived> &,
const Model &,
Data &)
JointDataBase<typename JointModel::JointDataDerived> &
)
{ // do nothing
}
......@@ -57,8 +54,7 @@ namespace se3
for(JointIndex i=1; i < (JointIndex)model.njoints; ++i)
{
Algo::run(model.joints[i],
data.joints[i],
typename Algo::ArgsType(model,data)
data.joints[i]
);
}
}
......
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