chainidsolver_recursive_newton_euler.hpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef KDL_CHAIN_IKSOLVER_RECURSIVE_NEWTON_EULER_HPP
00023 #define KDL_CHAIN_IKSOLVER_RECURSIVE_NEWTON_EULER_HPP
00024
00025 #include "chainidsolver.hpp"
00026
00027 namespace KDL{
00040 class ChainIdSolver_RNE : public ChainIdSolver{
00041 public:
00047 ChainIdSolver_RNE(const Chain& chain,Vector grav);
00048 ~ChainIdSolver_RNE(){};
00049
00060 int CartToJnt(const JntArray &q, const JntArray &q_dot, const JntArray &q_dotdot, const Wrenches& f_ext,JntArray &torques);
00061
00062 private:
00063 Chain chain;
00064 unsigned int nj;
00065 unsigned int ns;
00066 std::vector<Frame> X;
00067 std::vector<Twist> S;
00068 std::vector<Twist> v;
00069 std::vector<Twist> a;
00070 std::vector<Wrench> f;
00071 Twist ag;
00072 };
00073 }
00074
00075 #endif