Skip to content
Snippets Groups Projects
Commit 5f02c438 authored by jcarpent's avatar jcarpent
Browse files

[C++][Minor] Ajust joint limits algo and remove useless warnings

parent f13e6afc
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,6 @@ namespace se3
{
typedef boost::fusion::vector<const se3::Model &,
se3::Data &,
const Model::Index,
const Eigen::VectorXd &
> ArgsType;
......@@ -44,11 +43,10 @@ namespace se3
template<typename JointModel>
static void algo(const se3::JointModelBase<JointModel> & jmodel,
se3::JointDataBase<typename JointModel::JointData> & jdata,
const se3::Model & model,
se3::JointDataBase<typename JointModel::JointData> &,
const se3::Model &,
se3::Data & data,
const Model::Index i,
const Eigen::VectorXd & q)
const Eigen::VectorXd &) // TODO: make joint limits depend explicitely on the current state (q,v)
{
using namespace Eigen;
using namespace se3;
......@@ -73,7 +71,7 @@ namespace se3
{
JointLimitsStep::run(model.joints[i],
data.joints[i],
JointLimitsStep::ArgsType (model,data,i,q)
JointLimitsStep::ArgsType (model,data,q)
);
}
}
......
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