orocos_kdl
rotational_interpolation_sa.hpp
Go to the documentation of this file.
1 /***************************************************************************
2  tag: Erwin Aertbelien Mon Jan 10 16:38:39 CET 2005 rotational_interpolation_sa.h
3 
4  rotational_interpolation_sa.h - description
5  -------------------
6  begin : Mon January 10 2005
7  copyright : (C) 2005 Erwin Aertbelien
8  email : erwin.aertbelien@mech.kuleuven.ac.be
9 
10  ***************************************************************************
11  * This library is free software; you can redistribute it and/or *
12  * modify it under the terms of the GNU Lesser General Public *
13  * License as published by the Free Software Foundation; either *
14  * version 2.1 of the License, or (at your option) any later version. *
15  * *
16  * This library is distributed in the hope that it will be useful, *
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
19  * Lesser General Public License for more details. *
20  * *
21  * You should have received a copy of the GNU Lesser General Public *
22  * License along with this library; if not, write to the Free Software *
23  * Foundation, Inc., 59 Temple Place, *
24  * Suite 330, Boston, MA 02111-1307 USA *
25  * *
26  ***************************************************************************/
27 
28 
29  /*****************************************************************************
30  * \author
31  * Erwin Aertbelien, Div. PMA, Dep. of Mech. Eng., K.U.Leuven
32  *
33  * \version
34  * ORO_Geometry V0.2
35  *
36  * \par History
37  * - $log$
38  *
39  * \par Release
40  * $Id: rotational_interpolation_singleaxis.h,v 1.1.1.1.2.3 2003/07/24 13:26:15 psoetens Exp $
41  * $Name: $
42  ****************************************************************************/
43 
44 #ifndef KDL_ROTATIONALINTERPOLATION_SINGLEAXIS_H
45 #define KDL_ROTATIONALINTERPOLATION_SINGLEAXIS_H
46 
47 #include "frames.hpp"
48 #include "frames_io.hpp"
50 
51 
52 namespace KDL {
53 
54 
63 class RotationalInterpolation_SingleAxis: public RotationalInterpolation
64  {
65  Rotation R_base_start;
66  Rotation R_base_end;
67  Vector rot_start_end;
68  double angle;
69  public:
71  virtual void SetStartEnd(Rotation start,Rotation end);
72  virtual double Angle();
73  virtual Rotation Pos(double th) const;
74  virtual Vector Vel(double th,double thd) const;
75  virtual Vector Acc(double th,double thd,double thdd) const;
76  virtual void Write(std::ostream& os) const;
77  virtual RotationalInterpolation* Clone() const;
79  };
80 
81 }
82 
83 
84 #endif
KDL::RotationalInterpolation_SingleAxis::~RotationalInterpolation_SingleAxis
virtual ~RotationalInterpolation_SingleAxis()
Definition: rotational_interpolation_sa.cpp:117
KDL::RotationalInterpolation_SingleAxis::Angle
virtual double Angle()
Definition: rotational_interpolation_sa.cpp:109
frames.hpp
KDL::RotationalInterpolation_SingleAxis::SetStartEnd
virtual void SetStartEnd(Rotation start, Rotation end)
Definition: rotational_interpolation_sa.cpp:90
KDL::RotationalInterpolation_SingleAxis::Clone
virtual RotationalInterpolation * Clone() const
Definition: rotational_interpolation_sa.cpp:121
frames_io.hpp
KDL::RotationalInterpolation_SingleAxis::angle
double angle
Definition: rotational_interpolation_sa.hpp:144
KDL::RotationalInterpolation_SingleAxis::Pos
virtual Rotation Pos(double th) const
Definition: rotational_interpolation_sa.cpp:97
KDL::RotationalInterpolation_SingleAxis::Acc
virtual Vector Acc(double th, double thd, double thdd) const
Definition: rotational_interpolation_sa.cpp:105
KDL
Definition: kukaLWR_DHnew.cpp:25
KDL::RotationalInterpolation_SingleAxis::R_base_start
Rotation R_base_start
Definition: rotational_interpolation_sa.hpp:141
KDL::RotationalInterpolation_SingleAxis::rot_start_end
Vector rot_start_end
Definition: rotational_interpolation_sa.hpp:143
std::ostream
KDL::RotationalInterpolation_SingleAxis::R_base_end
Rotation R_base_end
Definition: rotational_interpolation_sa.hpp:142
KDL::RotationalInterpolation_SingleAxis::Write
virtual void Write(std::ostream &os) const
Definition: rotational_interpolation_sa.cpp:113
KDL::RotationalInterpolation_SingleAxis::RotationalInterpolation_SingleAxis
RotationalInterpolation_SingleAxis()
Definition: rotational_interpolation_sa.cpp:87
rotational_interpolation.hpp
KDL::RotationalInterpolation_SingleAxis::Vel
virtual Vector Vel(double th, double thd) const
Definition: rotational_interpolation_sa.cpp:101