Debian Codegraph @

orocos_kdl/src/framevel.hpp

raw symbols SCIP
1 /*****************************************************************************
2 * \file
3 * This file contains the definition of classes for a
4 * Rall Algebra of (subset of) the classes defined in frames,
5 * i.e. classes that contain a pair (value,derivative) and define operations on that pair
6 * this classes are useful for automatic differentiation ( <-> symbolic diff , <-> numeric diff)
7 * Defines VectorVel, RotationVel, FrameVel. Look at Frames.h for details on how to work
8 * with Frame objects.
9 * \author
10 * Erwin Aertbelien, Div. PMA, Dep. of Mech. Eng., K.U.Leuven
11 *
12 * \version
13 * ORO_Geometry V0.2
14 *
15 * \par History
16 * - $log$
17 *
18 * \par Release
19 * $Id: rframes.h,v 1.1.1.1 2002/08/26 14:14:21 rmoreas Exp $
20 * $Name: $
21 ****************************************************************************/
22
23 #ifndef KDL_FRAMEVEL_H
24 #define KDL_FRAMEVEL_Hcxx . . $ `orocos_kdl/src/framevel.hpp:24:9`!
25
26 #include "utilities/utility.h"cxx . . $ `<file>/orocos_kdl/src/utilities/utility.h`/
27 #include "utilities/rall1d.h"cxx . . $ `<file>/orocos_kdl/src/utilities/rall1d.h`/
28 #include "utilities/traits.h"cxx . . $ `<file>/orocos_kdl/src/utilities/traits.h`/
29
30 #include "frames.hpp"cxx . . $ `<file>/orocos_kdl/src/frames.hpp`/
31
32
33 namespace KDLcxx . . $ KDL/ {
34
35 typedef Rall1dcxx . . $ KDL/Rall1d#<double> doubleVelcxx . . $ KDL/doubleVel#;
36
37 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! doubleVelcxx . . $ KDL/doubleVel# diffcxx . . $ KDL/diff(f56539c2a3ca963).(const doubleVelcxx . . $ KDL/doubleVel#& a,const doubleVelcxx . . $ KDL/doubleVel#& b,double dt=1.0) {
38 return doubleVelcxx . . $ KDL/Rall1d#Rall1d(5c3bbb7f4f822d8a).((b.tcxx . . $ KDL/Rall1d#t.-a.tcxx . . $ KDL/Rall1d#t.)/dt,(b.gradcxx . . $ KDL/Rall1d#grad.-a.gradcxx . . $ KDL/Rall1d#grad.)/dt);
39 }
40
41 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! doubleVelcxx . . $ KDL/doubleVel# addDeltacxx . . $ KDL/addDelta(f56539c2a3ca963).(const doubleVelcxx . . $ KDL/doubleVel#& a,const doubleVelcxx . . $ KDL/doubleVel#&da,double dt=1.0) {
42 return doubleVelcxx . . $ KDL/doubleVel#(a.tcxx . . $ KDL/Rall1d#t.+da.tcxx . . $ KDL/Rall1d#t.*dt,a.gradcxx . . $ KDL/Rall1d#grad.+da.gradcxx . . $ KDL/Rall1d#grad.*dt);
43 }
44
45 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! void randomcxx . . $ KDL/random(ae715d8289bdc0f8).(doubleVelcxx . . $ KDL/doubleVel#& F) {
46 randomcxx . . $ KDL/random(fa22aefff6cb375c).(F.tcxx . . $ KDL/Rall1d#t.);
47 randomcxx . . $ KDL/random(fa22aefff6cb375c).(F.gradcxx . . $ KDL/Rall1d#grad.);
48 }
49 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! void posrandomcxx . . $ KDL/posrandom(ae715d8289bdc0f8).(doubleVelcxx . . $ KDL/doubleVel#& F) {
50 posrandomcxx . . $ KDL/posrandom(fa22aefff6cb375c).(F.tcxx . . $ KDL/Rall1d#t.);
51 posrandomcxx . . $ KDL/posrandom(fa22aefff6cb375c).(F.gradcxx . . $ KDL/Rall1d#grad.);
52 }
53
54 }
55
56 template <>
57 struct Traitscxx . . $ Traits#<KDLcxx . . $ KDL/::doubleVelcxx . . $ KDL/doubleVel#> {
58 typedef double valueTypecxx . . $ Traits#valueType#;
59 typedef KDLcxx . . $ KDL/::doubleVelcxx . . $ KDL/doubleVel# derivTypecxx . . $ Traits#derivType#;
60 };
61
62 namespace KDLcxx . . $ KDL/ {
63
64 class TwistVelcxx . . $ KDL/TwistVel#;
65 class VectorVelcxx . . $ KDL/VectorVel#;
66 class FrameVelcxx . . $ KDL/FrameVel#;
67 class RotationVelcxx . . $ KDL/RotationVel#;
68
69 // Equal is friend function, but default arguments for friends are forbidden (§8.3.6.4)
70 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! bool Equalcxx . . $ KDL/Equal(5e6b0339d072488b).(const VectorVelcxx . . $ KDL/VectorVel#& r1,const VectorVelcxx . . $ KDL/VectorVel#& r2,double eps=epsiloncxx . . $ KDL/epsilon.);
71 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! bool Equalcxx . . $ KDL/Equal(d6c4051d48bcf1d2).(const Vectorcxx . . $ KDL/Vector#& r1,const VectorVelcxx . . $ KDL/VectorVel#& r2,double eps=epsiloncxx . . $ KDL/epsilon.);
72 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! bool Equalcxx . . $ KDL/Equal(dd0e7f076c2da9c1).(const VectorVelcxx . . $ KDL/VectorVel#& r1,const Vectorcxx . . $ KDL/Vector#& r2,double eps=epsiloncxx . . $ KDL/epsilon.);
73 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! bool Equalcxx . . $ KDL/Equal(73a2e52ec9b41df1).(const RotationVelcxx . . $ KDL/RotationVel#& r1,const RotationVelcxx . . $ KDL/RotationVel#& r2,double eps=epsiloncxx . . $ KDL/epsilon.);
74 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! bool Equalcxx . . $ KDL/Equal(8d2490e98850ced1).(const Rotationcxx . . $ KDL/Rotation#& r1,const RotationVelcxx . . $ KDL/RotationVel#& r2,double eps=epsiloncxx . . $ KDL/epsilon.);
75 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! bool Equalcxx . . $ KDL/Equal(e6627761d8cc69b4).(const RotationVelcxx . . $ KDL/RotationVel#& r1,const Rotationcxx . . $ KDL/Rotation#& r2,double eps=epsiloncxx . . $ KDL/epsilon.);
76 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! bool Equalcxx . . $ KDL/Equal(1fe3a6e38598e9c6).(const FrameVelcxx . . $ KDL/FrameVel#& r1,const FrameVelcxx . . $ KDL/FrameVel#& r2,double eps=epsiloncxx . . $ KDL/epsilon.);
77 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! bool Equalcxx . . $ KDL/Equal(4f09acd10e279a5).(const Framecxx . . $ KDL/Frame#& r1,const FrameVelcxx . . $ KDL/FrameVel#& r2,double eps=epsiloncxx . . $ KDL/epsilon.);
78 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! bool Equalcxx . . $ KDL/Equal(550434c6096206eb).(const FrameVelcxx . . $ KDL/FrameVel#& r1,const Framecxx . . $ KDL/Frame#& r2,double eps=epsiloncxx . . $ KDL/epsilon.);
79 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! bool Equalcxx . . $ KDL/Equal(ae983afa8ffda8bf).(const TwistVelcxx . . $ KDL/TwistVel#& a,const TwistVelcxx . . $ KDL/TwistVel#& b,double eps=epsiloncxx . . $ KDL/epsilon.);
80 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! bool Equalcxx . . $ KDL/Equal(4195758a61cb5ef0).(const Twistcxx . . $ KDL/Twist#& a,const TwistVelcxx . . $ KDL/TwistVel#& b,double eps=epsiloncxx . . $ KDL/epsilon.);
81 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! bool Equalcxx . . $ KDL/Equal(82ee93adcc1ac6d).(const TwistVelcxx . . $ KDL/TwistVel#& a,const Twistcxx . . $ KDL/Twist#& b,double eps=epsiloncxx . . $ KDL/epsilon.);
82
83
84 class VectorVelcxx . . $ KDL/VectorVel#
85 // = TITLE
86 // An VectorVel is a Vector and its first derivative
87 // = CLASS TYPE
88 // Concrete
89 {
90 public:
91 Vectorcxx . . $ KDL/Vector# pcxx . . $ KDL/VectorVel#p.; // position vector
92 Vectorcxx . . $ KDL/Vector# vcxx . . $ KDL/VectorVel#v.; // velocity vector
93 public:
94 VectorVelcxx . . $ KDL/VectorVel#VectorVel(49f6e7a06ebc5aa8).():pcxx . . $ KDL/Vector#Vector(49f6e7a06ebc5aa8).(),vcxx . . $ KDL/Vector#Vector(49f6e7a06ebc5aa8).(){}
95 VectorVelcxx . . $ KDL/VectorVel#VectorVel(8141b2dbbf2c50ca).(const Vectorcxx . . $ KDL/Vector#& _p,const Vectorcxx . . $ KDL/Vector#& _v):pcxx . . $ KDL/VectorVel#p.(_p),vcxx . . $ KDL/Vector#Vector(306be3ff40f72210).(_v) {}
96 explicit VectorVelcxx . . $ KDL/VectorVel#VectorVel(306be3ff40f72210).(const Vectorcxx . . $ KDL/Vector#& _p):pcxx . . $ KDL/VectorVel#p.(_p),vcxx . . $ KDL/VectorVel#v.(Vectorcxx . . $ KDL/Vector#::Zerocxx . . $ KDL/Vector#Zero(24c4be029bad96f2).()) {}
97
98 Vectorcxx . . $ KDL/Vector# valuecxx . . $ KDL/VectorVel#value(b7801bc0064c47e7).() const { return pcxx . . $ KDL/VectorVel#p.;}
99 Vectorcxx . . $ KDL/Vector# derivcxx . . $ KDL/VectorVel#deriv(b7801bc0064c47e7).() const { return vcxx . . $ KDL/Vector#Vector(306be3ff40f72210).;}
100
101 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! VectorVelcxx . . $ KDL/VectorVel#& operatorcxx . . $ KDL/VectorVel#`operator=`(3762a9d698e00f34). = (const VectorVelcxx . . $ KDL/VectorVel#& arg);
102 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! VectorVelcxx . . $ KDL/VectorVel#& operatorcxx . . $ KDL/VectorVel#`operator=`(9ea2bcd16a19b67b). = (const Vectorcxx . . $ KDL/Vector#& arg);
103 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! VectorVelcxx . . $ KDL/VectorVel#& operatorcxx . . $ KDL/VectorVel#`operator+=`(3762a9d698e00f34). += (const VectorVelcxx . . $ KDL/VectorVel#& arg);
104 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! VectorVelcxx . . $ KDL/VectorVel#& operatorcxx . . $ KDL/VectorVel#`operator-=`(3762a9d698e00f34). -= (const VectorVelcxx . . $ KDL/VectorVel#& arg);
105 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! static VectorVelcxx . . $ KDL/VectorVel# Zerocxx . . $ KDL/VectorVel#Zero(d12c0837092c8fb0).();
106 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! void ReverseSigncxx . . $ KDL/VectorVel#ReverseSign(49f6e7a06ebc5aa8).();
107 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! doubleVelcxx . . $ KDL/doubleVel# Normcxx . . $ KDL/VectorVel#Norm(e67568b1b8904da1).(double eps=epsiloncxx . . $ KDL/epsilon.) const;
108 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend VectorVelcxx . . $ KDL/VectorVel# operatorcxx . . $ KDL/operator+(c98bab19305b5333). + (const VectorVelcxx . . $ KDL/VectorVel#& r1,const VectorVelcxx . . $ KDL/VectorVel#& r2);
109 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend VectorVelcxx . . $ KDL/VectorVel# operatorcxx . . $ KDL/operator-(c98bab19305b5333). - (const VectorVelcxx . . $ KDL/VectorVel#& r1,const VectorVelcxx . . $ KDL/VectorVel#& r2);
110 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend VectorVelcxx . . $ KDL/VectorVel# operatorcxx . . $ KDL/operator+(35b25f996bca6215). + (const Vectorcxx . . $ KDL/Vector#& r1,const VectorVelcxx . . $ KDL/VectorVel#& r2);
111 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend VectorVelcxx . . $ KDL/VectorVel# operatorcxx . . $ KDL/operator-(35b25f996bca6215). - (const Vectorcxx . . $ KDL/Vector#& r1,const VectorVelcxx . . $ KDL/VectorVel#& r2);
112 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend VectorVelcxx . . $ KDL/VectorVel# operatorcxx . . $ KDL/operator+(313b69589b28b96e). + (const VectorVelcxx . . $ KDL/VectorVel#& r1,const Vectorcxx . . $ KDL/Vector#& r2);
113 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend VectorVelcxx . . $ KDL/VectorVel# operatorcxx . . $ KDL/operator-(313b69589b28b96e). - (const VectorVelcxx . . $ KDL/VectorVel#& r1,const Vectorcxx . . $ KDL/Vector#& r2);
114 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend VectorVelcxx . . $ KDL/VectorVel# operatorcxx . . $ KDL/`operator*`(c98bab19305b5333). * (const VectorVelcxx . . $ KDL/VectorVel#& r1,const VectorVelcxx . . $ KDL/VectorVel#& r2);
115 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend VectorVelcxx . . $ KDL/VectorVel# operatorcxx . . $ KDL/`operator*`(313b69589b28b96e). * (const VectorVelcxx . . $ KDL/VectorVel#& r1,const Vectorcxx . . $ KDL/Vector#& r2);
116 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend VectorVelcxx . . $ KDL/VectorVel# operatorcxx . . $ KDL/`operator*`(35b25f996bca6215). * (const Vectorcxx . . $ KDL/Vector#& r1,const VectorVelcxx . . $ KDL/VectorVel#& r2);
117 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend VectorVelcxx . . $ KDL/VectorVel# operatorcxx . . $ KDL/`operator*`(7681a5f472fe18a). * (const VectorVelcxx . . $ KDL/VectorVel#& r1,double r2);
118 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend VectorVelcxx . . $ KDL/VectorVel# operatorcxx . . $ KDL/`operator*`(a287e745b02e61dc). * (double r1,const VectorVelcxx . . $ KDL/VectorVel#& r2);
119 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend VectorVelcxx . . $ KDL/VectorVel# operatorcxx . . $ KDL/`operator*`(cda0534aaa3c9a58). * (const doubleVelcxx . . $ KDL/doubleVel#& r1,const VectorVelcxx . . $ KDL/VectorVel#& r2);
120 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend VectorVelcxx . . $ KDL/VectorVel# operatorcxx . . $ KDL/`operator*`(b6a3ca170cc03860). * (const VectorVelcxx . . $ KDL/VectorVel#& r2,const doubleVelcxx . . $ KDL/doubleVel#& r1);
121 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend VectorVelcxx . . $ KDL/VectorVel# operatorcxx . . $ KDL/`operator*`(d5f15d5700ac94e0).*(const Rotationcxx . . $ KDL/Rotation#& R,const VectorVelcxx . . $ KDL/VectorVel#& x);
122
123 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend VectorVelcxx . . $ KDL/VectorVel# operatorcxx . . $ KDL/`operator/`(7681a5f472fe18a). / (const VectorVelcxx . . $ KDL/VectorVel#& r1,double r2);
124 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend VectorVelcxx . . $ KDL/VectorVel# operatorcxx . . $ KDL/`operator/`(b6a3ca170cc03860). / (const VectorVelcxx . . $ KDL/VectorVel#& r2,const doubleVelcxx . . $ KDL/doubleVel#& r1);
125 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend void SetToZerocxx . . $ KDL/SetToZero(b71ab9f17ce762fc).(VectorVelcxx . . $ KDL/VectorVel#& v);
126
127
128 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool Equalcxx . . $ KDL/Equal(5e6b0339d072488b).(const VectorVelcxx . . $ KDL/VectorVel#& r1,const VectorVelcxx . . $ KDL/VectorVel#& r2,double eps);
129 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool Equalcxx . . $ KDL/Equal(d6c4051d48bcf1d2).(const Vectorcxx . . $ KDL/Vector#& r1,const VectorVelcxx . . $ KDL/VectorVel#& r2,double eps);
130 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool Equalcxx . . $ KDL/Equal(dd0e7f076c2da9c1).(const VectorVelcxx . . $ KDL/VectorVel#& r1,const Vectorcxx . . $ KDL/Vector#& r2,double eps);
131
132 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator==`(610e28ee85fe5fba).==(const VectorVelcxx . . $ KDL/VectorVel#& r1,const VectorVelcxx . . $ KDL/VectorVel#& r2);
133 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator!=`(610e28ee85fe5fba).!=(const VectorVelcxx . . $ KDL/VectorVel#& r1,const VectorVelcxx . . $ KDL/VectorVel#& r2);
134 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator==`(2fe80dccb85b5a07).==(const Vectorcxx . . $ KDL/Vector#& r1,const VectorVelcxx . . $ KDL/VectorVel#& r2);
135 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator!=`(2fe80dccb85b5a07).!=(const Vectorcxx . . $ KDL/Vector#& r1,const VectorVelcxx . . $ KDL/VectorVel#& r2);
136 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator==`(341dece95d76a624).==(const VectorVelcxx . . $ KDL/VectorVel#& r1,const Vectorcxx . . $ KDL/Vector#& r2);
137 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator!=`(341dece95d76a624).!=(const VectorVelcxx . . $ KDL/VectorVel#& r1,const Vectorcxx . . $ KDL/Vector#& r2);
138
139 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend VectorVelcxx . . $ KDL/VectorVel# operatorcxx . . $ KDL/operator-(4386768dc99342ae). - (const VectorVelcxx . . $ KDL/VectorVel#& r);
140 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend doubleVelcxx . . $ KDL/doubleVel# dotcxx . . $ KDL/dot(efd93fb32ef4cd4d).(const VectorVelcxx . . $ KDL/VectorVel#& lhs,const VectorVelcxx . . $ KDL/VectorVel#& rhs);
141 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend doubleVelcxx . . $ KDL/doubleVel# dotcxx . . $ KDL/dot(bae0993bea19f743).(const VectorVelcxx . . $ KDL/VectorVel#& lhs,const Vectorcxx . . $ KDL/Vector#& rhs);
142 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend doubleVelcxx . . $ KDL/doubleVel# dotcxx . . $ KDL/dot(2006d8f3ea8cf12c).(const Vectorcxx . . $ KDL/Vector#& lhs,const VectorVelcxx . . $ KDL/VectorVel#& rhs);
143 };
144
145
146 class RotationVelcxx . . $ KDL/RotationVel#
147 // = TITLE
148 // An RotationVel is a Rotation and its first derivative, a rotation vector
149 // = CLASS TYPE
150 // Concrete
151 {
152 public:
153 Rotationcxx . . $ KDL/Rotation# Rcxx . . $ KDL/RotationVel#R.; // Rotation matrix
154 Vectorcxx . . $ KDL/Vector# wcxx . . $ KDL/RotationVel#w.; // rotation vector
155 public:
156 RotationVelcxx . . $ KDL/RotationVel#RotationVel(49f6e7a06ebc5aa8).():Rcxx . . $ KDL/Rotation#Rotation(49f6e7a06ebc5aa8).(),wcxx . . $ KDL/Vector#Vector(49f6e7a06ebc5aa8).() {}
157 explicit RotationVelcxx . . $ KDL/RotationVel#RotationVel(287b8e5dae229c16).(const Rotationcxx . . $ KDL/Rotation#& _R):Rcxx . . $ KDL/Rotation#Rotation(287b8e5dae229c16).(_R),wcxx . . $ KDL/RotationVel#w.(Vectorcxx . . $ KDL/Vector#::Zerocxx . . $ KDL/Vector#Zero(24c4be029bad96f2).()){}
158 RotationVelcxx . . $ KDL/RotationVel#RotationVel(367049f794e75e6d).(const Rotationcxx . . $ KDL/Rotation#& _R,const Vectorcxx . . $ KDL/Vector#& _w):Rcxx . . $ KDL/Rotation#Rotation(287b8e5dae229c16).(_R),wcxx . . $ KDL/Vector#Vector(306be3ff40f72210).(_w){}
159
160
161 Rotationcxx . . $ KDL/Rotation# valuecxx . . $ KDL/RotationVel#value(77aed6bd36213484).() const { return Rcxx . . $ KDL/Rotation#Rotation(287b8e5dae229c16).;}
162 Vectorcxx . . $ KDL/Vector# derivcxx . . $ KDL/RotationVel#deriv(b7801bc0064c47e7).() const { return wcxx . . $ KDL/Vector#Vector(306be3ff40f72210).;}
163
164
165 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! RotationVelcxx . . $ KDL/RotationVel#& operatorcxx . . $ KDL/RotationVel#`operator=`(fef16fa3d0460128). = (const RotationVelcxx . . $ KDL/RotationVel#& arg);
166 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! RotationVelcxx . . $ KDL/RotationVel#& operatorcxx . . $ KDL/RotationVel#`operator=`(3cd7ace71ee1037f). = (const Rotationcxx . . $ KDL/Rotation#& arg);
167 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! VectorVelcxx . . $ KDL/VectorVel# UnitXcxx . . $ KDL/RotationVel#UnitX(ea863db18e044cb3).() const;
168 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! VectorVelcxx . . $ KDL/VectorVel# UnitYcxx . . $ KDL/RotationVel#UnitY(ea863db18e044cb3).() const;
169 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! VectorVelcxx . . $ KDL/VectorVel# UnitZcxx . . $ KDL/RotationVel#UnitZ(ea863db18e044cb3).() const;
170 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! static RotationVelcxx . . $ KDL/RotationVel# Identitycxx . . $ KDL/RotationVel#Identity(1446c087ad66513).();
171 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! RotationVelcxx . . $ KDL/RotationVel# Inversecxx . . $ KDL/RotationVel#Inverse(44625cd3a16acec0).() const;
172 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! VectorVelcxx . . $ KDL/VectorVel# Inversecxx . . $ KDL/RotationVel#Inverse(a4453a2fd5c08c78).(const VectorVelcxx . . $ KDL/VectorVel#& arg) const;
173 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! VectorVelcxx . . $ KDL/VectorVel# Inversecxx . . $ KDL/RotationVel#Inverse(3ec08873c55e38c8).(const Vectorcxx . . $ KDL/Vector#& arg) const;
174 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! VectorVelcxx . . $ KDL/VectorVel# operatorcxx . . $ KDL/RotationVel#`operator*`(a4453a2fd5c08c78).*(const VectorVelcxx . . $ KDL/VectorVel#& arg) const;
175 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! VectorVelcxx . . $ KDL/VectorVel# operatorcxx . . $ KDL/RotationVel#`operator*`(3ec08873c55e38c8).*(const Vectorcxx . . $ KDL/Vector#& arg) const;
176 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! void DoRotXcxx . . $ KDL/RotationVel#DoRotX(36c0e996446ec181).(const doubleVelcxx . . $ KDL/doubleVel#& angle);
177 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! void DoRotYcxx . . $ KDL/RotationVel#DoRotY(36c0e996446ec181).(const doubleVelcxx . . $ KDL/doubleVel#& angle);
178 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! void DoRotZcxx . . $ KDL/RotationVel#DoRotZ(36c0e996446ec181).(const doubleVelcxx . . $ KDL/doubleVel#& angle);
179 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! static RotationVelcxx . . $ KDL/RotationVel# RotXcxx . . $ KDL/RotationVel#RotX(2a4837034423dc80).(const doubleVelcxx . . $ KDL/doubleVel#& angle);
180 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! static RotationVelcxx . . $ KDL/RotationVel# RotYcxx . . $ KDL/RotationVel#RotY(2a4837034423dc80).(const doubleVelcxx . . $ KDL/doubleVel#& angle);
181 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! static RotationVelcxx . . $ KDL/RotationVel# RotZcxx . . $ KDL/RotationVel#RotZ(2a4837034423dc80).(const doubleVelcxx . . $ KDL/doubleVel#& angle);
182 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! static RotationVelcxx . . $ KDL/RotationVel# Rotcxx . . $ KDL/RotationVel#Rot(c92db71d13aa2da6).(const Vectorcxx . . $ KDL/Vector#& rotvec,const doubleVelcxx . . $ KDL/doubleVel#& angle);
183 // rotvec has arbitrary norm
184 // rotation around a constant vector !
185 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! static RotationVelcxx . . $ KDL/RotationVel# Rot2cxx . . $ KDL/RotationVel#Rot2(c92db71d13aa2da6).(const Vectorcxx . . $ KDL/Vector#& rotvec,const doubleVelcxx . . $ KDL/doubleVel#& angle);
186 // rotvec is normalized.
187 // rotation around a constant vector !
188 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend RotationVelcxx . . $ KDL/RotationVel# operatorcxx . . $ KDL/`operator*`(49a98c48a1cb90ef).* (const RotationVelcxx . . $ KDL/RotationVel#& r1,const RotationVelcxx . . $ KDL/RotationVel#& r2);
189 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend RotationVelcxx . . $ KDL/RotationVel# operatorcxx . . $ KDL/`operator*`(147df5e1abcc67b).* (const Rotationcxx . . $ KDL/Rotation#& r1,const RotationVelcxx . . $ KDL/RotationVel#& r2);
190 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend RotationVelcxx . . $ KDL/RotationVel# operatorcxx . . $ KDL/`operator*`(d817d5a230e6f42e).* (const RotationVelcxx . . $ KDL/RotationVel#& r1,const Rotationcxx . . $ KDL/Rotation#& r2);
191 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool Equalcxx . . $ KDL/Equal(73a2e52ec9b41df1).(const RotationVelcxx . . $ KDL/RotationVel#& r1,const RotationVelcxx . . $ KDL/RotationVel#& r2,double eps);
192 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool Equalcxx . . $ KDL/Equal(8d2490e98850ced1).(const Rotationcxx . . $ KDL/Rotation#& r1,const RotationVelcxx . . $ KDL/RotationVel#& r2,double eps);
193 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool Equalcxx . . $ KDL/Equal(e6627761d8cc69b4).(const RotationVelcxx . . $ KDL/RotationVel#& r1,const Rotationcxx . . $ KDL/Rotation#& r2,double eps);
194
195 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator==`(ff35a745db4d795e).==(const RotationVelcxx . . $ KDL/RotationVel#& r1,const RotationVelcxx . . $ KDL/RotationVel#& r2);
196 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator!=`(ff35a745db4d795e).!=(const RotationVelcxx . . $ KDL/RotationVel#& r1,const RotationVelcxx . . $ KDL/RotationVel#& r2);
197 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator==`(caa041075a430a13).==(const Rotationcxx . . $ KDL/Rotation#& r1,const RotationVelcxx . . $ KDL/RotationVel#& r2);
198 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator!=`(caa041075a430a13).!=(const Rotationcxx . . $ KDL/Rotation#& r1,const RotationVelcxx . . $ KDL/RotationVel#& r2);
199 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator==`(7b5da6945177c932).==(const RotationVelcxx . . $ KDL/RotationVel#& r1,const Rotationcxx . . $ KDL/Rotation#& r2);
200 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator!=`(7b5da6945177c932).!=(const RotationVelcxx . . $ KDL/RotationVel#& r1,const Rotationcxx . . $ KDL/Rotation#& r2);
201
202 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! TwistVelcxx . . $ KDL/TwistVel# Inversecxx . . $ KDL/RotationVel#Inverse(57a93b30a0b871a).(const TwistVelcxx . . $ KDL/TwistVel#& arg) const;
203 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! TwistVelcxx . . $ KDL/TwistVel# Inversecxx . . $ KDL/RotationVel#Inverse(56d8abe63611427d).(const Twistcxx . . $ KDL/Twist#& arg) const;
204 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! TwistVelcxx . . $ KDL/TwistVel# operatorcxx . . $ KDL/RotationVel#`operator*`(57a93b30a0b871a). * (const TwistVelcxx . . $ KDL/TwistVel#& arg) const;
205 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! TwistVelcxx . . $ KDL/TwistVel# operatorcxx . . $ KDL/RotationVel#`operator*`(56d8abe63611427d). * (const Twistcxx . . $ KDL/Twist#& arg) const;
206 };
207
208
209 class FrameVelcxx . . $ KDL/FrameVel#
210 // = TITLE
211 // An FrameVel is a Frame and its first derivative, a Twist vector
212 // = CLASS TYPE
213 // Concrete
214 // = CAVEATS
215 //
216 {
217 public:
218 RotationVelcxx . . $ KDL/RotationVel# Mcxx . . $ KDL/FrameVel#M.;
219 VectorVelcxx . . $ KDL/VectorVel# pcxx . . $ KDL/FrameVel#p.;
220 public:
221 FrameVelcxx . . $ KDL/FrameVel#FrameVel(49f6e7a06ebc5aa8).(){}
222
223 explicit FrameVelcxx . . $ KDL/FrameVel#FrameVel(1d4b68aea8fc8597).(const Framecxx . . $ KDL/Frame#& _T):
224 Mcxx . . $ KDL/FrameVel#M.(_T.Mcxx . . $ KDL/Frame#M.),pcxx . . $ KDL/VectorVel#VectorVel(306be3ff40f72210).(_T.pcxx . . $ KDL/Frame#p.) {}
225
226 FrameVelcxx . . $ KDL/FrameVel#FrameVel(f3829a616154a6f6).(const Framecxx . . $ KDL/Frame#& _T,const Twistcxx . . $ KDL/Twist#& _t):
227 Mcxx . . $ KDL/FrameVel#M.(_T.Mcxx . . $ KDL/Frame#M.,_t.rotcxx . . $ KDL/Twist#rot.),pcxx . . $ KDL/VectorVel#VectorVel(8141b2dbbf2c50ca).(_T.pcxx . . $ KDL/Frame#p.,_t.velcxx . . $ KDL/Twist#vel.) {}
228
229 FrameVelcxx . . $ KDL/FrameVel#FrameVel(a264cfa6e62a1ed9).(const RotationVelcxx . . $ KDL/RotationVel#& _M,const VectorVelcxx . . $ KDL/VectorVel#& _p):
230 Mcxx . . $ KDL/FrameVel#M.(_M),pcxx . . $ KDL/FrameVel#p.(_p) {}
231
232
233 Framecxx . . $ KDL/Frame# valuecxx . . $ KDL/FrameVel#value(25cfc67715b5716).() const { return Framecxx . . $ KDL/Frame#Frame(367049f794e75e6d).(Mcxx . . $ KDL/FrameVel#M..valuecxx . . $ KDL/RotationVel#value(77aed6bd36213484).(),pcxx . . $ KDL/FrameVel#p..valuecxx . . $ KDL/VectorVel#value(b7801bc0064c47e7).());}
234 Twistcxx . . $ KDL/Twist# derivcxx . . $ KDL/FrameVel#deriv(c63306bf8b76afb0).() const { return Twistcxx . . $ KDL/Twist#Twist(8141b2dbbf2c50ca).(pcxx . . $ KDL/FrameVel#p..derivcxx . . $ KDL/VectorVel#deriv(b7801bc0064c47e7).(),Mcxx . . $ KDL/FrameVel#M..derivcxx . . $ KDL/RotationVel#deriv(b7801bc0064c47e7).());}
235
236
237 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! FrameVelcxx . . $ KDL/FrameVel#& operatorcxx . . $ KDL/FrameVel#`operator=`(e41210d188055be4). = (const Framecxx . . $ KDL/Frame#& arg);
238 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! FrameVelcxx . . $ KDL/FrameVel#& operatorcxx . . $ KDL/FrameVel#`operator=`(45ba490a6052d8db). = (const FrameVelcxx . . $ KDL/FrameVel#& arg);
239 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! static FrameVelcxx . . $ KDL/FrameVel# Identitycxx . . $ KDL/FrameVel#Identity(37c59a382a13f637).();
240 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! FrameVelcxx . . $ KDL/FrameVel# Inversecxx . . $ KDL/FrameVel#Inverse(1e6efe554f9aa10f).() const;
241 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! VectorVelcxx . . $ KDL/VectorVel# Inversecxx . . $ KDL/FrameVel#Inverse(a4453a2fd5c08c78).(const VectorVelcxx . . $ KDL/VectorVel#& arg) const;
242 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! VectorVelcxx . . $ KDL/VectorVel# operatorcxx . . $ KDL/FrameVel#`operator*`(a4453a2fd5c08c78).*(const VectorVelcxx . . $ KDL/VectorVel#& arg) const;
243 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! VectorVelcxx . . $ KDL/VectorVel# operatorcxx . . $ KDL/FrameVel#`operator*`(3ec08873c55e38c8).*(const Vectorcxx . . $ KDL/Vector#& arg) const;
244 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! VectorVelcxx . . $ KDL/VectorVel# Inversecxx . . $ KDL/FrameVel#Inverse(3ec08873c55e38c8).(const Vectorcxx . . $ KDL/Vector#& arg) const;
245 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! Framecxx . . $ KDL/Frame# GetFramecxx . . $ KDL/FrameVel#GetFrame(25cfc67715b5716).() const;
246 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! Twistcxx . . $ KDL/Twist# GetTwistcxx . . $ KDL/FrameVel#GetTwist(c63306bf8b76afb0).() const;
247 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend FrameVelcxx . . $ KDL/FrameVel# operatorcxx . . $ KDL/`operator*`(c5e3266a64c76a62). * (const FrameVelcxx . . $ KDL/FrameVel#& f1,const FrameVelcxx . . $ KDL/FrameVel#& f2);
248 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend FrameVelcxx . . $ KDL/FrameVel# operatorcxx . . $ KDL/`operator*`(bca14634f2f2f48d). * (const Framecxx . . $ KDL/Frame#& f1,const FrameVelcxx . . $ KDL/FrameVel#& f2);
249 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend FrameVelcxx . . $ KDL/FrameVel# operatorcxx . . $ KDL/`operator*`(a322f6c0b0d3b08d). * (const FrameVelcxx . . $ KDL/FrameVel#& f1,const Framecxx . . $ KDL/Frame#& f2);
250 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool Equalcxx . . $ KDL/Equal(1fe3a6e38598e9c6).(const FrameVelcxx . . $ KDL/FrameVel#& r1,const FrameVelcxx . . $ KDL/FrameVel#& r2,double eps);
251 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool Equalcxx . . $ KDL/Equal(4f09acd10e279a5).(const Framecxx . . $ KDL/Frame#& r1,const FrameVelcxx . . $ KDL/FrameVel#& r2,double eps);
252 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool Equalcxx . . $ KDL/Equal(550434c6096206eb).(const FrameVelcxx . . $ KDL/FrameVel#& r1,const Framecxx . . $ KDL/Frame#& r2,double eps);
253
254 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator==`(e337013634a46623).==(const FrameVelcxx . . $ KDL/FrameVel#& a,const FrameVelcxx . . $ KDL/FrameVel#& b);
255 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator!=`(e337013634a46623).!=(const FrameVelcxx . . $ KDL/FrameVel#& a,const FrameVelcxx . . $ KDL/FrameVel#& b);
256 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator==`(dbac48f75a8e4983).==(const Framecxx . . $ KDL/Frame#& a,const FrameVelcxx . . $ KDL/FrameVel#& b);
257 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator!=`(dbac48f75a8e4983).!=(const Framecxx . . $ KDL/Frame#& a,const FrameVelcxx . . $ KDL/FrameVel#& b);
258 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator==`(41aff5395c67684).==(const FrameVelcxx . . $ KDL/FrameVel#& a,const Framecxx . . $ KDL/Frame#& b);
259 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator!=`(41aff5395c67684).!=(const FrameVelcxx . . $ KDL/FrameVel#& a,const Framecxx . . $ KDL/Frame#& b);
260
261 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! TwistVelcxx . . $ KDL/TwistVel# Inversecxx . . $ KDL/FrameVel#Inverse(57a93b30a0b871a).(const TwistVelcxx . . $ KDL/TwistVel#& arg) const;
262 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! TwistVelcxx . . $ KDL/TwistVel# Inversecxx . . $ KDL/FrameVel#Inverse(56d8abe63611427d).(const Twistcxx . . $ KDL/Twist#& arg) const;
263 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! TwistVelcxx . . $ KDL/TwistVel# operatorcxx . . $ KDL/FrameVel#`operator*`(57a93b30a0b871a). * (const TwistVelcxx . . $ KDL/TwistVel#& arg) const;
264 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! TwistVelcxx . . $ KDL/TwistVel# operatorcxx . . $ KDL/FrameVel#`operator*`(56d8abe63611427d). * (const Twistcxx . . $ KDL/Twist#& arg) const;
265 };
266
267
268 //very similar to Wrench class.
269 class TwistVelcxx . . $ KDL/TwistVel#
270 // = TITLE
271 // This class represents a TwistVel. This is a velocity and rotational velocity together
272 {
273 public:
274 VectorVelcxx . . $ KDL/VectorVel# velcxx . . $ KDL/TwistVel#vel.;
275 VectorVelcxx . . $ KDL/VectorVel# rotcxx . . $ KDL/TwistVel#rot.;
276 public:
277
278 // = Constructors
279 TwistVelcxx . . $ KDL/TwistVel#TwistVel(49f6e7a06ebc5aa8).():velcxx . . $ KDL/VectorVel#VectorVel(49f6e7a06ebc5aa8).(),rotcxx . . $ KDL/VectorVel#VectorVel(49f6e7a06ebc5aa8).() {};
280 TwistVelcxx . . $ KDL/TwistVel#TwistVel(dccf74896ea2ed02).(const VectorVelcxx . . $ KDL/VectorVel#& _vel,const VectorVelcxx . . $ KDL/VectorVel#& _rot):velcxx . . $ KDL/TwistVel#vel.(_vel),rotcxx . . $ KDL/TwistVel#rot.(_rot) {};
281 TwistVelcxx . . $ KDL/TwistVel#TwistVel(9058f40c05873f12).(const Twistcxx . . $ KDL/Twist#& p,const Twistcxx . . $ KDL/Twist#& v):velcxx . . $ KDL/TwistVel#vel.(p.velcxx . . $ KDL/Twist#vel., v.velcxx . . $ KDL/Twist#vel.), rotcxx . . $ KDL/VectorVel#VectorVel(8141b2dbbf2c50ca).( p.rotcxx . . $ KDL/Twist#rot., v.rotcxx . . $ KDL/Twist#rot.) {};
282 TwistVelcxx . . $ KDL/TwistVel#TwistVel(422d9e86c57f4db7).(const Twistcxx . . $ KDL/Twist#& p):velcxx . . $ KDL/VectorVel#VectorVel(306be3ff40f72210).(p.velcxx . . $ KDL/Twist#vel.), rotcxx . . $ KDL/TwistVel#rot.( p.rotcxx . . $ KDL/Twist#rot.) {};
283
284 Twistcxx . . $ KDL/Twist# valuecxx . . $ KDL/TwistVel#value(c63306bf8b76afb0).() const {
285 return Twistcxx . . $ KDL/Twist#Twist(8141b2dbbf2c50ca).(velcxx . . $ KDL/TwistVel#vel..valuecxx . . $ KDL/VectorVel#value(b7801bc0064c47e7).(),rotcxx . . $ KDL/TwistVel#rot..valuecxx . . $ KDL/VectorVel#value(b7801bc0064c47e7).());
286 }
287 Twistcxx . . $ KDL/Twist# derivcxx . . $ KDL/TwistVel#deriv(c63306bf8b76afb0).() const {
288 return Twistcxx . . $ KDL/Twist#Twist(8141b2dbbf2c50ca).(velcxx . . $ KDL/TwistVel#vel..derivcxx . . $ KDL/VectorVel#deriv(b7801bc0064c47e7).(),rotcxx . . $ KDL/TwistVel#rot..derivcxx . . $ KDL/VectorVel#deriv(b7801bc0064c47e7).());
289 }
290 // = Operators
291 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! TwistVelcxx . . $ KDL/TwistVel#& operatorcxx . . $ KDL/TwistVel#`operator-=`(3a1604c58d6db26e).-=(const TwistVelcxx . . $ KDL/TwistVel#& arg);
292 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! TwistVelcxx . . $ KDL/TwistVel#& operatorcxx . . $ KDL/TwistVel#`operator+=`(3a1604c58d6db26e).+=(const TwistVelcxx . . $ KDL/TwistVel#& arg);
293
294 // = External operators
295 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend TwistVelcxx . . $ KDL/TwistVel# operatorcxx . . $ KDL/`operator*`(c9aad55697d85393).*(const TwistVelcxx . . $ KDL/TwistVel#& lhs,double rhs);
296 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend TwistVelcxx . . $ KDL/TwistVel# operatorcxx . . $ KDL/`operator*`(4fa19de9d604b98c).*(double lhs,const TwistVelcxx . . $ KDL/TwistVel#& rhs);
297 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend TwistVelcxx . . $ KDL/TwistVel# operatorcxx . . $ KDL/`operator/`(c9aad55697d85393)./(const TwistVelcxx . . $ KDL/TwistVel#& lhs,double rhs);
298
299 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend TwistVelcxx . . $ KDL/TwistVel# operatorcxx . . $ KDL/`operator*`(53f079916aec3d1c).*(const TwistVelcxx . . $ KDL/TwistVel#& lhs,const doubleVelcxx . . $ KDL/doubleVel#& rhs);
300 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend TwistVelcxx . . $ KDL/TwistVel# operatorcxx . . $ KDL/`operator*`(695f2e60dec70c70).*(const doubleVelcxx . . $ KDL/doubleVel#& lhs,const TwistVelcxx . . $ KDL/TwistVel#& rhs);
301 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend TwistVelcxx . . $ KDL/TwistVel# operatorcxx . . $ KDL/`operator/`(53f079916aec3d1c)./(const TwistVelcxx . . $ KDL/TwistVel#& lhs,const doubleVelcxx . . $ KDL/doubleVel#& rhs);
302
303 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend TwistVelcxx . . $ KDL/TwistVel# operatorcxx . . $ KDL/operator+(4c6be8d7b4d85c33).+(const TwistVelcxx . . $ KDL/TwistVel#& lhs,const TwistVelcxx . . $ KDL/TwistVel#& rhs);
304 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend TwistVelcxx . . $ KDL/TwistVel# operatorcxx . . $ KDL/operator-(4c6be8d7b4d85c33).-(const TwistVelcxx . . $ KDL/TwistVel#& lhs,const TwistVelcxx . . $ KDL/TwistVel#& rhs);
305 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend TwistVelcxx . . $ KDL/TwistVel# operatorcxx . . $ KDL/operator-(218ecb6da69b6d4c).-(const TwistVelcxx . . $ KDL/TwistVel#& arg);
306 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend void SetToZerocxx . . $ KDL/SetToZero(dfe9ad0e591b00ac).(TwistVelcxx . . $ KDL/TwistVel#& v);
307
308
309 // = Zero
310 static IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! TwistVelcxx . . $ KDL/TwistVel# Zerocxx . . $ KDL/TwistVel#Zero(45749f4caed26965).();
311
312 // = Reverse Sign
313 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! void ReverseSigncxx . . $ KDL/TwistVel#ReverseSign(49f6e7a06ebc5aa8).();
314
315 // = Change Reference point
316 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! TwistVelcxx . . $ KDL/TwistVel# RefPointcxx . . $ KDL/TwistVel#RefPoint(2d900f6c687285ae).(const VectorVelcxx . . $ KDL/VectorVel#& v_base_AB);
317 // Changes the reference point of the TwistVel.
318 // The VectorVel v_base_AB is expressed in the same base as the TwistVel
319 // The VectorVel v_base_AB is a VectorVel from the old point to
320 // the new point.
321 // Complexity : 6M+6A
322
323 // = Equality operators
324 // do not use operator == because the definition of Equal(.,.) is slightly
325 // different. It compares whether the 2 arguments are equal in an eps-interval
326 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool Equalcxx . . $ KDL/Equal(ae983afa8ffda8bf).(const TwistVelcxx . . $ KDL/TwistVel#& a,const TwistVelcxx . . $ KDL/TwistVel#& b,double eps);
327 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool Equalcxx . . $ KDL/Equal(4195758a61cb5ef0).(const Twistcxx . . $ KDL/Twist#& a,const TwistVelcxx . . $ KDL/TwistVel#& b,double eps);
328 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool Equalcxx . . $ KDL/Equal(82ee93adcc1ac6d).(const TwistVelcxx . . $ KDL/TwistVel#& a,const Twistcxx . . $ KDL/Twist#& b,double eps);
329
330 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator==`(d1bb622a357c8a1).==(const TwistVelcxx . . $ KDL/TwistVel#& a,const TwistVelcxx . . $ KDL/TwistVel#& b);
331 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator!=`(d1bb622a357c8a1).!=(const TwistVelcxx . . $ KDL/TwistVel#& a,const TwistVelcxx . . $ KDL/TwistVel#& b);
332 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator==`(f90ed1845aa9b96f).==(const Twistcxx . . $ KDL/Twist#& a,const TwistVelcxx . . $ KDL/TwistVel#& b);
333 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator!=`(f90ed1845aa9b96f).!=(const Twistcxx . . $ KDL/Twist#& a,const TwistVelcxx . . $ KDL/TwistVel#& b);
334 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator==`(26dcf79c90bb1679).==(const TwistVelcxx . . $ KDL/TwistVel#& a,const Twistcxx . . $ KDL/Twist#& b);
335 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! friend bool operatorcxx . . $ KDL/`operator!=`(26dcf79c90bb1679).!=(const TwistVelcxx . . $ KDL/TwistVel#& a,const Twistcxx . . $ KDL/Twist#& b);
336
337 // = Conversion to other entities
338 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! Twistcxx . . $ KDL/Twist# GetTwistcxx . . $ KDL/TwistVel#GetTwist(c63306bf8b76afb0).() const;
339 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! Twistcxx . . $ KDL/Twist# GetTwistDotcxx . . $ KDL/TwistVel#GetTwistDot(c63306bf8b76afb0).() const;
340 // = Friends
341 friend class RotationVelcxx . . $ KDL/RotationVel#;
342 friend class FrameVelcxx . . $ KDL/FrameVel#;
343
344 };
345
346 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! VectorVelcxx . . $ KDL/VectorVel# diffcxx . . $ KDL/diff(127aef2508f57364).(const VectorVelcxx . . $ KDL/VectorVel#& a,const VectorVelcxx . . $ KDL/VectorVel#& b,double dt=1.0) {
347 return VectorVelcxx . . $ KDL/VectorVel#VectorVel(8141b2dbbf2c50ca).(diffcxx . . $ KDL/diff(95ec1cdb02706f08).(a.pcxx . . $ KDL/VectorVel#p.,b.pcxx . . $ KDL/VectorVel#p.,dt),diffcxx . . $ KDL/diff(95ec1cdb02706f08).(a.vcxx . . $ KDL/VectorVel#v.,b.vcxx . . $ KDL/VectorVel#v.,dt));
348 }
349
350 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! VectorVelcxx . . $ KDL/VectorVel# addDeltacxx . . $ KDL/addDelta(127aef2508f57364).(const VectorVelcxx . . $ KDL/VectorVel#& a,const VectorVelcxx . . $ KDL/VectorVel#&da,double dt=1.0) {
351 return VectorVelcxx . . $ KDL/VectorVel#VectorVel(8141b2dbbf2c50ca).(addDeltacxx . . $ KDL/addDelta(95ec1cdb02706f08).(a.pcxx . . $ KDL/VectorVel#p.,da.pcxx . . $ KDL/VectorVel#p.,dt),addDeltacxx . . $ KDL/addDelta(95ec1cdb02706f08).(a.vcxx . . $ KDL/VectorVel#v.,da.vcxx . . $ KDL/VectorVel#v.,dt));
352 }
353 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! VectorVelcxx . . $ KDL/VectorVel# diffcxx . . $ KDL/diff(fd2caf09688dd122).(const RotationVelcxx . . $ KDL/RotationVel#& a,const RotationVelcxx . . $ KDL/RotationVel#& b,double dt = 1.0) {
354 return VectorVelcxx . . $ KDL/VectorVel#VectorVel(8141b2dbbf2c50ca).(diffcxx . . $ KDL/diff(cf764578e0bb8f8f).(a.Rcxx . . $ KDL/RotationVel#R.,b.Rcxx . . $ KDL/RotationVel#R.,dt),diffcxx . . $ KDL/diff(95ec1cdb02706f08).(a.wcxx . . $ KDL/RotationVel#w.,b.wcxx . . $ KDL/RotationVel#w.,dt));
355 }
356
357 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! RotationVelcxx . . $ KDL/RotationVel# addDeltacxx . . $ KDL/addDelta(78d70b3fda7744d5).(const RotationVelcxx . . $ KDL/RotationVel#& a,const VectorVelcxx . . $ KDL/VectorVel#&da,double dt=1.0) {
358 return RotationVelcxx . . $ KDL/RotationVel#RotationVel(367049f794e75e6d).(addDeltacxx . . $ KDL/addDelta(fe65a148768344fc).(a.Rcxx . . $ KDL/RotationVel#R.,da.pcxx . . $ KDL/VectorVel#p.,dt),addDeltacxx . . $ KDL/addDelta(95ec1cdb02706f08).(a.wcxx . . $ KDL/RotationVel#w.,da.vcxx . . $ KDL/VectorVel#v.,dt));
359 }
360
361 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! TwistVelcxx . . $ KDL/TwistVel# diffcxx . . $ KDL/diff(8e8b509246ead31e).(const FrameVelcxx . . $ KDL/FrameVel#& a,const FrameVelcxx . . $ KDL/FrameVel#& b,double dt=1.0) {
362 return TwistVelcxx . . $ KDL/TwistVel#TwistVel(dccf74896ea2ed02).(diffcxx . . $ KDL/diff(fd2caf09688dd122).(a.Mcxx . . $ KDL/FrameVel#M.,b.Mcxx . . $ KDL/FrameVel#M.,dt),diffcxx . . $ KDL/diff(127aef2508f57364).(a.pcxx . . $ KDL/FrameVel#p.,b.pcxx . . $ KDL/FrameVel#p.,dt));
363 }
364
365 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! FrameVelcxx . . $ KDL/FrameVel# addDeltacxx . . $ KDL/addDelta(7ac76ddb34c34b2f).(const FrameVelcxx . . $ KDL/FrameVel#& a,const TwistVelcxx . . $ KDL/TwistVel#& da,double dt=1.0) {
366 return FrameVelcxx . . $ KDL/FrameVel#FrameVel(a264cfa6e62a1ed9).(
367 addDeltacxx . . $ KDL/addDelta(78d70b3fda7744d5).(a.Mcxx . . $ KDL/FrameVel#M.,da.rotcxx . . $ KDL/TwistVel#rot.,dt),
368 addDeltacxx . . $ KDL/addDelta(127aef2508f57364).(a.pcxx . . $ KDL/FrameVel#p.,da.velcxx . . $ KDL/TwistVel#vel.,dt)
369 );
370 }
371
372 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! void randomcxx . . $ KDL/random(b71ab9f17ce762fc).(VectorVelcxx . . $ KDL/VectorVel#& a) {
373 randomcxx . . $ KDL/random(9f1423c7ef701636).(a.pcxx . . $ KDL/VectorVel#p.);
374 randomcxx . . $ KDL/random(9f1423c7ef701636).(a.vcxx . . $ KDL/VectorVel#v.);
375 }
376 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! void randomcxx . . $ KDL/random(dfe9ad0e591b00ac).(TwistVelcxx . . $ KDL/TwistVel#& a) {
377 randomcxx . . $ KDL/random(b71ab9f17ce762fc).(a.velcxx . . $ KDL/TwistVel#vel.);
378 randomcxx . . $ KDL/random(b71ab9f17ce762fc).(a.rotcxx . . $ KDL/TwistVel#rot.);
379 }
380
381 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! void randomcxx . . $ KDL/random(cec55c98ac63ac23).(RotationVelcxx . . $ KDL/RotationVel#& R) {
382 randomcxx . . $ KDL/random(baa5e7c8820b1beb).(R.Rcxx . . $ KDL/RotationVel#R.);
383 randomcxx . . $ KDL/random(9f1423c7ef701636).(R.wcxx . . $ KDL/RotationVel#w.);
384 }
385
386 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! void randomcxx . . $ KDL/random(a3b69866fa0bb2e5).(FrameVelcxx . . $ KDL/FrameVel#& F) {
387 randomcxx . . $ KDL/random(cec55c98ac63ac23).(F.Mcxx . . $ KDL/FrameVel#M.);
388 randomcxx . . $ KDL/random(b71ab9f17ce762fc).(F.pcxx . . $ KDL/FrameVel#p.);
389 }
390 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! void posrandomcxx . . $ KDL/posrandom(b71ab9f17ce762fc).(VectorVelcxx . . $ KDL/VectorVel#& a) {
391 posrandomcxx . . $ KDL/posrandom(9f1423c7ef701636).(a.pcxx . . $ KDL/VectorVel#p.);
392 posrandomcxx . . $ KDL/posrandom(9f1423c7ef701636).(a.vcxx . . $ KDL/VectorVel#v.);
393 }
394 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! void posrandomcxx . . $ KDL/posrandom(dfe9ad0e591b00ac).(TwistVelcxx . . $ KDL/TwistVel#& a) {
395 posrandomcxx . . $ KDL/posrandom(b71ab9f17ce762fc).(a.velcxx . . $ KDL/TwistVel#vel.);
396 posrandomcxx . . $ KDL/posrandom(b71ab9f17ce762fc).(a.rotcxx . . $ KDL/TwistVel#rot.);
397 }
398
399 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! void posrandomcxx . . $ KDL/posrandom(cec55c98ac63ac23).(RotationVelcxx . . $ KDL/RotationVel#& R) {
400 posrandomcxx . . $ KDL/posrandom(baa5e7c8820b1beb).(R.Rcxx . . $ KDL/RotationVel#R.);
401 posrandomcxx . . $ KDL/posrandom(9f1423c7ef701636).(R.wcxx . . $ KDL/RotationVel#w.);
402 }
403
404 IMETHODcxx . . $ `orocos_kdl/src/utilities/utility.h:41:17`! void posrandomcxx . . $ KDL/posrandom(a3b69866fa0bb2e5).(FrameVelcxx . . $ KDL/FrameVel#& F) {
405 posrandomcxx . . $ KDL/posrandom(cec55c98ac63ac23).(F.Mcxx . . $ KDL/FrameVel#M.);
406 posrandomcxx . . $ KDL/posrandom(b71ab9f17ce762fc).(F.pcxx . . $ KDL/FrameVel#p.);
407 }
408
409 #ifdef KDL_INLINEcxx . . $ `orocos_kdl/src/utilities/kdl-config.h:24:9`!
410 #include "framevel.inl"cxx . . $ `<file>/orocos_kdl/src/framevel.inl`/
411 #endif
412
413 } // namespace KDL
414
415 template<> struct stdcxx . . $ std/::hashcxx . . $ std/hash#<KDLcxx . . $ KDL/::doubleVelcxx . . $ KDL/doubleVel#>
416 {
417 stdcxx . . $ std/::size_tcxx . . $ std/size_t# operatorcxx . . $ std/hash#`operator()`(d907e2d9fe41e9cc).()(KDLcxx . . $ KDL/::doubleVelcxx . . $ KDL/doubleVel# const& dv) const noexcept
418 {
419 size_tcxx . . $ std/size_t# seed = 0;
420 KDLcxx . . $ KDL/::hash_combinecxx . . $ KDL/hash_combine(774f86a0fdd9657e).(seed, dv.valuecxx . . $ KDL/Rall1d#value(8f5363d873dd4781).());
421 KDLcxx . . $ KDL/::hash_combinecxx . . $ KDL/hash_combine(774f86a0fdd9657e).(seed, dv.derivcxx . . $ KDL/Rall1d#deriv(7b7646ca7c721626).());
422 return seed;
423 }
424 };
425
426 template<> struct stdcxx . . $ std/::hashcxx . . $ std/hash#<KDLcxx . . $ KDL/::VectorVelcxx . . $ KDL/VectorVel#>
427 {
428 stdcxx . . $ std/::size_tcxx . . $ std/size_t# operatorcxx . . $ std/hash#`operator()`(b66f00dddca8767e).()(KDLcxx . . $ KDL/::VectorVelcxx . . $ KDL/VectorVel# const& vv) const noexcept
429 {
430 size_tcxx . . $ std/size_t# seed = 0;
431 KDLcxx . . $ KDL/::hash_combinecxx . . $ KDL/hash_combine(774f86a0fdd9657e).(seed, vv.pcxx . . $ KDL/VectorVel#p.);
432 KDLcxx . . $ KDL/::hash_combinecxx . . $ KDL/hash_combine(774f86a0fdd9657e).(seed, vv.vcxx . . $ KDL/VectorVel#v.);
433 return seed;
434 }
435 };
436
437 template<> struct stdcxx . . $ std/::hashcxx . . $ std/hash#<KDLcxx . . $ KDL/::RotationVelcxx . . $ KDL/RotationVel#>
438 {
439 stdcxx . . $ std/::size_tcxx . . $ std/size_t# operatorcxx . . $ std/hash#`operator()`(b765f380f24956fb).()(KDLcxx . . $ KDL/::RotationVelcxx . . $ KDL/RotationVel# const& rv) const noexcept
440 {
441 size_tcxx . . $ std/size_t# seed = 0;
442 KDLcxx . . $ KDL/::hash_combinecxx . . $ KDL/hash_combine(774f86a0fdd9657e).(seed, rv.Rcxx . . $ KDL/RotationVel#R.);
443 KDLcxx . . $ KDL/::hash_combinecxx . . $ KDL/hash_combine(774f86a0fdd9657e).(seed, rv.wcxx . . $ KDL/RotationVel#w.);
444 return seed;
445 }
446 };
447
448 template<> struct stdcxx . . $ std/::hashcxx . . $ std/hash#<KDLcxx . . $ KDL/::FrameVelcxx . . $ KDL/FrameVel#>
449 {
450 stdcxx . . $ std/::size_tcxx . . $ std/size_t# operatorcxx . . $ std/hash#`operator()`(587036594306eb8a).()(KDLcxx . . $ KDL/::FrameVelcxx . . $ KDL/FrameVel# const& fv) const noexcept
451 {
452 size_tcxx . . $ std/size_t# seed = 0;
453 KDLcxx . . $ KDL/::hash_combinecxx . . $ KDL/hash_combine(774f86a0fdd9657e).(seed, fv.Mcxx . . $ KDL/FrameVel#M.);
454 KDLcxx . . $ KDL/::hash_combinecxx . . $ KDL/hash_combine(774f86a0fdd9657e).(seed, fv.pcxx . . $ KDL/FrameVel#p.);
455 return seed;
456 }
457 };
458
459 template<> struct stdcxx . . $ std/::hashcxx . . $ std/hash#<KDLcxx . . $ KDL/::TwistVelcxx . . $ KDL/TwistVel#>
460 {
461 stdcxx . . $ std/::size_tcxx . . $ std/size_t# operatorcxx . . $ std/hash#`operator()`(93da248478c69a46).()(KDLcxx . . $ KDL/::TwistVelcxx . . $ KDL/TwistVel# const& tv) const noexcept
462 {
463 size_tcxx . . $ std/size_t# seed = 0;
464 KDLcxx . . $ KDL/::hash_combinecxx . . $ KDL/hash_combine(774f86a0fdd9657e).(seed, tv.velcxx . . $ KDL/TwistVel#vel.);
465 KDLcxx . . $ KDL/::hash_combinecxx . . $ KDL/hash_combine(774f86a0fdd9657e).(seed, tv.rotcxx . . $ KDL/TwistVel#rot.);
466 return seed;
467 }
468 };
469
470 #endif