Kindr
Kinematics and Dynamics for Robotics
kindr::TwistLinearVelocityLocalAngularVelocity< PrimType_ > Class Template Reference

#include <Twist.hpp>

Inheritance diagram for kindr::TwistLinearVelocityLocalAngularVelocity< PrimType_ >:
Inheritance graph

Public Types

typedef PrimType_ Scalar
 
typedef Base::PositionDiff PositionDiff
 
typedef Base::RotationDiff RotationDiff
 
typedef Base::Vector6 Vector6
 
typedef Base::Vector3 Vector3
 
- Public Types inherited from kindr::Twist< PrimType_, Velocity< PrimType_, 3 >, LocalAngularVelocity< PrimType_ > >
typedef PrimType_ Scalar
 
typedef Velocity< PrimType_, 3 > PositionDiff
 
typedef LocalAngularVelocity< PrimType_ > RotationDiff
 
typedef Eigen::Matrix< PrimType_, 6, 1 > Vector6
 
typedef Eigen::Matrix< PrimType_, 3, 1 > Vector3
 

Public Member Functions

 TwistLinearVelocityLocalAngularVelocity ()=default
 
 TwistLinearVelocityLocalAngularVelocity (const PositionDiff &positionDiff, const RotationDiff &rotationDiff)
 
 TwistLinearVelocityLocalAngularVelocity (const Vector3 &linearVelocity, const Vector3 &localAngularVelocity)
 
 TwistLinearVelocityLocalAngularVelocity (const Vector6 &vector6)
 
Vector6 getVector () const
 
void setVector (const Vector6 &vector6)
 
- Public Member Functions inherited from kindr::Twist< PrimType_, Velocity< PrimType_, 3 >, LocalAngularVelocity< PrimType_ > >
 Twist ()=default
 
 Twist (const PositionDiff &position, const RotationDiff &rotation)
 
Velocity< PrimType_, 3 > & getTranslationalVelocity ()
 
const Velocity< PrimType_, 3 > & getTranslationalVelocity () const
 
LocalAngularVelocity< PrimType_ > & getRotationalVelocity ()
 
const LocalAngularVelocity< PrimType_ > & getRotationalVelocity () const
 
Vector6 getVector (const RotationBase< Rotation_ > &rotation) const
 
TwistsetZero ()
 Sets twist to zero. More...
 
- Public Member Functions inherited from kindr::PoseDiffBase< Twist< PrimType_, Velocity< PrimType_, 3 >, LocalAngularVelocity< PrimType_ > > >
 PoseDiffBase ()=default
 Default constructor. More...
 
 PoseDiffBase (const Twist< PrimType_, Velocity< PrimType_, 3 >, LocalAngularVelocity< PrimType_ > > &)=delete
 Constructor from derived time derivative of a pose. This constructor has been deleted because the abstract class does not contain any data. More...
 
 operator Twist< PrimType_, Velocity< PrimType_, 3 >, LocalAngularVelocity< PrimType_ > > & ()
 Gets the derived time derivative of a pose. More...
 
 operator const Twist< PrimType_, Velocity< PrimType_, 3 >, LocalAngularVelocity< PrimType_ > > & () const
 Gets the derived time derivative of a pose. More...
 
const Twist< PrimType_, Velocity< PrimType_, 3 >, LocalAngularVelocity< PrimType_ > > & derived () const
 Gets the derived time derivative of a pose. More...
 
Twist< PrimType_, Velocity< PrimType_, 3 >, LocalAngularVelocity< PrimType_ > > & setZero ()
 Sets twist to zero. More...
 

Private Types

typedef Twist< PrimType_, kindr::Velocity< PrimType_, 3 >, LocalAngularVelocity< PrimType_ > > Base
 

Detailed Description

template<typename PrimType_>
class kindr::TwistLinearVelocityLocalAngularVelocity< PrimType_ >

Definition at line 125 of file Twist.hpp.

Member Typedef Documentation

template<typename PrimType_ >
typedef Twist<PrimType_, kindr::Velocity<PrimType_, 3>, LocalAngularVelocity<PrimType_> > kindr::TwistLinearVelocityLocalAngularVelocity< PrimType_ >::Base
private

Definition at line 130 of file Twist.hpp.

template<typename PrimType_ >
typedef Base::PositionDiff kindr::TwistLinearVelocityLocalAngularVelocity< PrimType_ >::PositionDiff

Definition at line 133 of file Twist.hpp.

template<typename PrimType_ >
typedef Base::RotationDiff kindr::TwistLinearVelocityLocalAngularVelocity< PrimType_ >::RotationDiff

Definition at line 134 of file Twist.hpp.

template<typename PrimType_ >
typedef PrimType_ kindr::TwistLinearVelocityLocalAngularVelocity< PrimType_ >::Scalar

Definition at line 132 of file Twist.hpp.

template<typename PrimType_ >
typedef Base::Vector3 kindr::TwistLinearVelocityLocalAngularVelocity< PrimType_ >::Vector3

Definition at line 136 of file Twist.hpp.

template<typename PrimType_ >
typedef Base::Vector6 kindr::TwistLinearVelocityLocalAngularVelocity< PrimType_ >::Vector6

Definition at line 135 of file Twist.hpp.

Constructor & Destructor Documentation

template<typename PrimType_ >
kindr::TwistLinearVelocityLocalAngularVelocity< PrimType_ >::TwistLinearVelocityLocalAngularVelocity ( )
default
template<typename PrimType_ >
kindr::TwistLinearVelocityLocalAngularVelocity< PrimType_ >::TwistLinearVelocityLocalAngularVelocity ( const PositionDiff positionDiff,
const RotationDiff rotationDiff 
)
inline

Definition at line 140 of file Twist.hpp.

template<typename PrimType_ >
kindr::TwistLinearVelocityLocalAngularVelocity< PrimType_ >::TwistLinearVelocityLocalAngularVelocity ( const Vector3 linearVelocity,
const Vector3 localAngularVelocity 
)
inline

Definition at line 144 of file Twist.hpp.

template<typename PrimType_ >
kindr::TwistLinearVelocityLocalAngularVelocity< PrimType_ >::TwistLinearVelocityLocalAngularVelocity ( const Vector6 vector6)
inline

Sets the twist by a 6D-vector [linear velocity, angular velocity]'

Definition at line 150 of file Twist.hpp.

Member Function Documentation

template<typename PrimType_ >
Vector6 kindr::TwistLinearVelocityLocalAngularVelocity< PrimType_ >::getVector ( ) const
inline
Returns
the twist in a 6D-vector [linear velocity, angular velocity]'

Definition at line 157 of file Twist.hpp.

template<typename PrimType_ >
void kindr::TwistLinearVelocityLocalAngularVelocity< PrimType_ >::setVector ( const Vector6 vector6)
inline

Sets the twist by a 6D-vector [linear velocity, angular velocity]'

Definition at line 166 of file Twist.hpp.


The documentation for this class was generated from the following file: