KDL  1.3.0
chainfksolver.hpp
Go to the documentation of this file.
1 // Copyright (C) 2007 Ruben Smits <ruben dot smits at mech dot kuleuven dot be>
2 
3 // Version: 1.0
4 // Author: Ruben Smits <ruben dot smits at mech dot kuleuven dot be>
5 // Maintainer: Ruben Smits <ruben dot smits at mech dot kuleuven dot be>
6 // URL: http://www.orocos.org/kdl
7 
8 // This library is free software; you can redistribute it and/or
9 // modify it under the terms of the GNU Lesser General Public
10 // License as published by the Free Software Foundation; either
11 // version 2.1 of the License, or (at your option) any later version.
12 
13 // This library is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 // Lesser General Public License for more details.
17 
18 // You should have received a copy of the GNU Lesser General Public
19 // License along with this library; if not, write to the Free Software
20 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 
22 #ifndef KDL_CHAIN_FKSOLVER_HPP
23 #define KDL_CHAIN_FKSOLVER_HPP
24 
25 #include "chain.hpp"
26 #include "framevel.hpp"
27 #include "frameacc.hpp"
28 #include "jntarray.hpp"
29 #include "jntarrayvel.hpp"
30 #include "jntarrayacc.hpp"
31 #include "solveri.hpp"
32 
33 namespace KDL {
34 
42  //Forward definition
43  class ChainFkSolverPos : public KDL::SolverI {
44  public:
54  virtual int JntToCart(const JntArray& q_in, Frame& p_out,int segmentNr=-1)=0;
55  virtual ~ChainFkSolverPos(){};
56  };
57 
64  class ChainFkSolverVel : public KDL::SolverI {
65  public:
75  virtual int JntToCart(const JntArrayVel& q_in, FrameVel& out,int segmentNr=-1)=0;
76 
77  virtual ~ChainFkSolverVel(){};
78  };
79 
87  class ChainFkSolverAcc : public KDL::SolverI {
88  public:
100  virtual int JntToCart(const JntArrayAcc& q_in, FrameAcc& out,int segmentNr=-1)=0;
101 
102  virtual ~ChainFkSolverAcc()=0;
103  };
104 
105 
106 }//end of namespace KDL
107 
108 #endif
This class represents an fixed size array containing joint values of a KDL::Chain.
Definition: jntarray.hpp:69
Solver interface supporting storage and description of the latest error.
Definition: solveri.hpp:84
virtual int JntToCart(const JntArrayAcc &q_in, FrameAcc &out, int segmentNr=-1)=0
Calculate forward position, velocity and accelaration kinematics, from joint coordinates to cartesi...
virtual ~ChainFkSolverVel()
Definition: chainfksolver.hpp:77
Definition: frameacc.hpp:165
virtual int JntToCart(const JntArray &q_in, Frame &p_out, int segmentNr=-1)=0
Calculate forward position kinematics for a KDL::Chain, from joint coordinates to cartesian pose...
Definition: articulatedbodyinertia.cpp:28
virtual int JntToCart(const JntArrayVel &q_in, FrameVel &out, int segmentNr=-1)=0
Calculate forward position and velocity kinematics, from joint coordinates to cartesian coordinates...
virtual ~ChainFkSolverAcc()=0
Definition: jntarrayvel.hpp:45
virtual ~ChainFkSolverPos()
Definition: chainfksolver.hpp:55
This abstract class encapsulates a solver for the forward acceleration kinematics for a KDL::Chain...
Definition: chainfksolver.hpp:87
represents a frame transformation in 3D space (rotation + translation)
Definition: frames.hpp:570
Definition: framevel.hpp:197
Definition: jntarrayacc.hpp:49
This abstract class encapsulates a solver for the forward velocity kinematics for a KDL::Chain...
Definition: chainfksolver.hpp:64
This abstract class encapsulates a solver for the forward position kinematics for a KDL::Chain...
Definition: chainfksolver.hpp:43