18 #ifndef __se3_finite_differences_hxx__ 19 #define __se3_finite_differences_hxx__ 21 #include "pinocchio/multibody/visitor.hpp" 22 #include <boost/foreach.hpp> 32 typedef boost::fusion::vector<
38 template<
typename Jo
intModel>
40 Eigen::VectorXd & fd_increment)
52 Eigen::VectorXd fd_increment(model.
nv);
53 for(std::size_t k = 1; k < model.
joints.size(); ++k)
56 FinitDiffEpsVisitor::run(jmodel,FinitDiffEpsVisitor::ArgsType(fd_increment));
65 #endif // ifndef __se3_finite_differences_hxx__
int nv
Dimension of the velocity vector space.
JointModelVector joints
Model of joint i, encapsulated in a JointModelAccessor.
ConfigVector_t::Scalar finiteDifferenceIncrement() const
Return the resolution of the finite differerence increment according to the Scalar type...
Eigen::VectorXd finiteDifferenceIncrement(const Model &model)
Computes the finite difference increments for each degree of freedom according to the current joint c...