Go to the documentation of this file.
40 typedef Rall2d<double,double,double>
doubleAcc;
71 VectorAcc(
const Vector& _p,
const Vector& _v,
const Vector& _dv):
72 p(_p),
v(_v),
dv(_dv) {}
117 explicit RotationAcc(
const Rotation& _R):
R(_R),
w(Vector::Zero()){}
118 RotationAcc(
const Rotation& _R,
const Vector& _w,
const Vector& _dw):
119 R(_R),
w(_w),
dw(_dw) {}
170 FrameAcc(
const Frame& _T,
const Twist& _t,
const Twist& _dt):
171 M(_T.
M,_t.rot,_dt.rot),
p(_T.
p,_t.vel,_dt.vel) {}
172 FrameAcc(
const RotationAcc& _M,
const VectorAcc& _p):
M(_M),
p(_p) {}
IMETHOD Twist GetTwist() const
IMETHOD VectorAcc & operator+=(const VectorAcc &arg)
IMETHOD friend VectorAcc operator-(const VectorAcc &r1, const VectorAcc &r2)
IMETHOD TwistAcc & operator+=(const TwistAcc &arg)
VectorAcc rot
rotational velocity and its 1st and 2nd derivative
static IMETHOD TwistAcc Zero()
IMETHOD friend TwistAcc operator+(const TwistAcc &lhs, const TwistAcc &rhs)
IMETHOD friend TwistAcc operator-(const TwistAcc &lhs, const TwistAcc &rhs)
IMETHOD friend void SetToZero(TwistAcc &v)
IMETHOD VectorAcc operator*(const VectorAcc &arg) const
IMETHOD RotationAcc Inverse() const
IMETHOD friend doubleAcc dot(const VectorAcc &lhs, const VectorAcc &rhs)
IMETHOD Twist GetTwistDot() const
IMETHOD friend bool Equal(const FrameAcc &r1, const FrameAcc &r2, double eps)
std::size_t operator()(KDL::VectorAcc const &va) const noexcept
IMETHOD FrameAcc & operator=(const FrameAcc &arg)
std::size_t operator()(KDL::FrameAcc const &fa) const noexcept
Vector w
angular velocity vector
void hash_combine(std::size_t &seed, const T &v)
Combine hash of object v to the seed.
IMETHOD friend VectorAcc operator*(const VectorAcc &r1, const VectorAcc &r2)
IMETHOD TwistAcc & operator-=(const TwistAcc &arg)
A concrete implementation of a 3 dimensional vector class.
Rotation R
rotation matrix
double epsilon
default precision while comparing with Equal(..,..) functions. Initialized at 0.0000001.
represents both translational and rotational velocities.
IMETHOD TwistAcc RefPoint(const VectorAcc &v_base_AB)
VectorAcc p
Translation, velocity and acceleration of origin.
IMETHOD friend VectorAcc operator/(const VectorAcc &r1, double r2)
IMETHOD Frame GetFrame() const
std::size_t operator()(KDL::RotationAcc const &ra) const noexcept
represents a frame transformation in 3D space (rotation + translation)
static IMETHOD VectorAcc Zero()
IMETHOD Twist GetAccTwist() const
static IMETHOD FrameAcc Identity()
IMETHOD Twist GetTwist() const
IMETHOD VectorAcc & operator=(const VectorAcc &arg)
IMETHOD friend bool Equal(const TwistAcc &a, const TwistAcc &b, double eps)
Vector dw
angular acceration vector
IMETHOD FrameAcc Inverse() const
std::size_t operator()(KDL::doubleAcc const &da) const noexcept
static IMETHOD RotationAcc Identity()
Vector dv
acceleration vector
IMETHOD friend bool Equal(const RotationAcc &r1, const RotationAcc &r2, double eps)
std::size_t operator()(KDL::TwistAcc const &ta) const noexcept
IMETHOD bool Equal(const FrameAcc &r1, const FrameAcc &r2, double eps=epsilon)
IMETHOD void ReverseSign()
IMETHOD friend VectorAcc operator+(const VectorAcc &r1, const VectorAcc &r2)
IMETHOD VectorAcc operator*(const VectorAcc &arg) const
Rall2d< double, double, double > doubleAcc
IMETHOD friend TwistAcc operator/(const TwistAcc &lhs, double rhs)
IMETHOD friend bool Equal(const VectorAcc &r1, const VectorAcc &r2, double eps)
IMETHOD RotationAcc & operator=(const RotationAcc &arg)
VectorAcc vel
translational velocity and its 1st and 2nd derivative
IMETHOD doubleAcc Norm(double eps=epsilon)
RotationAcc M
Rotation,angular velocity, and angular acceleration of frame.
IMETHOD VectorAcc & operator-=(const VectorAcc &arg)
IMETHOD friend TwistAcc operator*(const TwistAcc &lhs, double rhs)
IMETHOD void ReverseSign()
represents rotations in 3 dimensional space.