3 #ifndef __CHAIN_IK_SOLVER_POS_ID_HPP__
4 #define __CHAIN_IK_SOLVER_POS_ID_HPP__
6 #include <kdl/chain.hpp>
7 #include <kdl/chainfksolver.hpp>
8 #include <kdl/chainiksolver.hpp>
9 #include <kdl/chainjnttojacsolver.hpp>
10 #include <kdl/jacobian.hpp>
11 #include <kdl/jntarray.hpp>
36 ChainIkSolverPos_ID(
const KDL::Chain & chain,
const KDL::JntArray & q_min,
const KDL::JntArray & q_max, KDL::ChainFkSolverPos & fksolver);
48 int CartToJnt(
const KDL::JntArray & q_init,
const KDL::Frame & p_in, KDL::JntArray & q_out)
override;
67 const char *
strError(
const int error)
const override;
76 KDL::JntArray computeDiffInvKin(
const KDL::Twist & delta_twist);
78 const KDL::Chain & chain;
84 KDL::ChainFkSolverPos & fkSolverPos;
85 KDL::ChainJntToJacSolver jacSolver;
87 KDL::Jacobian jacobian;
IK solver using infinitesimal displacement twists.
Definition: ChainIkSolverPos_ID.hpp:25
void updateInternalDataStructures() override
Update the internal data structures.
Definition: ChainIkSolverPos_ID.cpp:107
static const int E_FKSOLVERPOS_FAILED
Return code, internal FK position solver failed.
Definition: ChainIkSolverPos_ID.hpp:70
static const int E_JACSOLVER_FAILED
Return code, internal Jacobian solver failed.
Definition: ChainIkSolverPos_ID.hpp:73
ChainIkSolverPos_ID(const KDL::Chain &chain, const KDL::JntArray &q_min, const KDL::JntArray &q_max, KDL::ChainFkSolverPos &fksolver)
Constructor.
Definition: ChainIkSolverPos_ID.cpp:16
int CartToJnt(const KDL::JntArray &q_init, const KDL::Frame &p_in, KDL::JntArray &q_out) override
Calculate inverse position kinematics.
Definition: ChainIkSolverPos_ID.cpp:29
const char * strError(const int error) const override
Return a description of the last error.
Definition: ChainIkSolverPos_ID.cpp:119
The main, catch-all namespace for Robotics Lab UC3M.
Definition: groups.dox:6