Blender  V3.3
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 
32 namespace KDL {
33 
41  //Forward definition
43  public:
53  virtual int JntToCart(const JntArray& q_in, Frame& p_out,int segmentNr=-1)=0;
54  virtual ~ChainFkSolverPos(){};
55  };
56 
64  public:
74  virtual int JntToCart(const JntArrayVel& q_in, FrameVel& out,int segmentNr=-1)=0;
75 
76  virtual ~ChainFkSolverVel(){};
77  };
78 
87  public:
99  virtual int JntToCart(const JntArrayAcc& q_in, FrameAcc& out,int segmentNr=-1)=0;
100 
101  virtual ~ChainFkSolverAcc()=0;
102  };
103 
104 
105 }//end of namespace KDL
106 
107 #endif
This abstract class encapsulates a solver for the forward acceleration kinematics for a KDL::Chain.
virtual ~ChainFkSolverAcc()=0
virtual int JntToCart(const JntArrayAcc &q_in, FrameAcc &out, int segmentNr=-1)=0
This abstract class encapsulates a solver for the forward position kinematics for a KDL::Chain.
virtual int JntToCart(const JntArray &q_in, Frame &p_out, int segmentNr=-1)=0
This abstract class encapsulates a solver for the forward velocity kinematics for a KDL::Chain.
virtual int JntToCart(const JntArrayVel &q_in, FrameVel &out, int segmentNr=-1)=0
represents a frame transformation in 3D space (rotation + translation)
Definition: frames.hpp:526
Definition: chain.cpp:27
static const pxr::TfToken out("out", pxr::TfToken::Immortal)