KDL
1.5.3
Toggle main menu visibility
Loading...
Searching...
No Matches
src
treeiksolver.hpp
Go to the documentation of this file.
1
/*
2
* treeiksolver.hpp
3
*
4
* Created on: Nov 28, 2008
5
* Author: rubensmits
6
*/
7
8
#ifndef TREEIKSOLVER_HPP_
9
#define TREEIKSOLVER_HPP_
10
11
#include "
tree.hpp
"
12
#include "
jntarray.hpp
"
13
#include "
frames.hpp
"
14
#include <map>
15
16
namespace
KDL
{
17
18
typedef
std::map<std::string, Twist>
Twists
;
19
typedef
std::map<std::string, Jacobian>
Jacobians
;
20
typedef
std::map<std::string, Frame>
Frames
;
21
28
class
TreeIkSolverPos
{
29
public
:
41
virtual
double
CartToJnt
(
const
JntArray
& q_init,
const
Frames
& p_in,
JntArray
& q_out)=0;
42
43
virtual
~TreeIkSolverPos
() {
44
}
45
;
46
};
47
54
class
TreeIkSolverVel
{
55
public
:
67
virtual
double
CartToJnt
(
const
JntArray
& q_in,
const
Twists
& v_in,
JntArray
& qdot_out)=0;
68
69
virtual
~TreeIkSolverVel
() {
70
}
71
;
72
73
};
74
75
}
76
77
#endif
/* TREEIKSOLVER_HPP_ */
KDL::JntArray
Definition
jntarray.hpp:70
KDL::TreeIkSolverPos
This abstract class encapsulates the inverse position solver for a KDL::Chain.
Definition
treeiksolver.hpp:28
KDL::TreeIkSolverPos::~TreeIkSolverPos
virtual ~TreeIkSolverPos()
Definition
treeiksolver.hpp:43
KDL::TreeIkSolverPos::CartToJnt
virtual double CartToJnt(const JntArray &q_init, const Frames &p_in, JntArray &q_out)=0
Calculate inverse position kinematics, from cartesian coordinates to joint coordinates.
KDL::TreeIkSolverVel
This abstract class encapsulates the inverse velocity solver for a KDL::Tree.
Definition
treeiksolver.hpp:54
KDL::TreeIkSolverVel::CartToJnt
virtual double CartToJnt(const JntArray &q_in, const Twists &v_in, JntArray &qdot_out)=0
Calculate inverse velocity kinematics, from joint positions and cartesian velocities to joint velocit...
KDL::TreeIkSolverVel::~TreeIkSolverVel
virtual ~TreeIkSolverVel()
Definition
treeiksolver.hpp:69
frames.hpp
jntarray.hpp
KDL
Definition
articulatedbodyinertia.cpp:26
KDL::Frames
std::map< std::string, Frame > Frames
Definition
treeiksolver.hpp:20
KDL::Twists
std::map< std::string, Twist > Twists
Definition
treeiksolver.hpp:18
KDL::Jacobians
std::map< std::string, Jacobian > Jacobians
Definition
treeiksolver.hpp:19
tree.hpp
Generated by
1.17.0