23 #ifndef KDL_FRAMEVEL_H 24 #define KDL_FRAMEVEL_H 38 IMETHOD doubleVel
diff(
const doubleVel& a,
const doubleVel& b,
double dt=1.0) {
215 M(_T.M,_t.rot),p(_T.p,_t.vel) {}
387 #include "framevel.inl" VectorVel(const Vector &_p)
VectorAcc operator/(const VectorAcc &r1, double r2)
represents rotations in 3 dimensional space.
FrameVel(const RotationVel &_M, const VectorVel &_p)
INLINE S Norm(const Rall1d< T, V, S > &value)
TwistVel(const VectorVel &_vel, const VectorVel &_rot)
IMETHOD Rotation Rot(const Vector &axis_a_b)
FrameVel(const Frame &_T, const Twist &_t)
RotationVel(const Rotation &_R)
ArticulatedBodyInertia operator+(const ArticulatedBodyInertia &Ia, const ArticulatedBodyInertia &Ib)
IMETHOD Vector diff(const Vector &p_w_a, const Vector &p_w_b, double dt=1)
Traits are traits classes to determine the type of a derivative of another type.
doubleAcc dot(const VectorAcc &lhs, const VectorAcc &rhs)
RotationVel(const Rotation &_R, const Vector &_w)
represents both translational and rotational velocities.
IMETHOD void SetToZero(Vector &v)
IMETHOD bool Equal(const FrameAcc &r1, const FrameAcc &r2, double eps=epsilon)
IMETHOD VectorVel operator*(const Vector &arg) const
A concrete implementation of a 3 dimensional vector class.
double epsilon
default precision while comparing with Equal(..,..) functions. Initialized at 0.0000001.
ArticulatedBodyInertia operator*(double a, const ArticulatedBodyInertia &I)
IMETHOD void posrandom(Vector &a)
represents a frame transformation in 3D space (rotation + translation)
IMETHOD Vector addDelta(const Vector &p_w_a, const Vector &p_w_da, double dt=1)
adds vector da to vector a. see also the corresponding diff() routine.
IMETHOD void random(Vector &a)
addDelta operator for displacement rotational velocity.
ArticulatedBodyInertia operator-(const ArticulatedBodyInertia &Ia, const ArticulatedBodyInertia &Ib)
Rall1d< double > doubleVel