OpenWalker Project
Documentation of the ROS Packages
Public Types | Public Member Functions | List of all members
ow_core::ForceRef< _Derived > Class Template Reference

The ForceRef class. More...

#include <force_ref.h>

Inheritance diagram for ow_core::ForceRef< _Derived >:
ow_core::Vector3Ref< _Derived > ow_core::VectorRef< _Derived, 3 >

Public Types

typedef _Derived Derived
 
typedef Vector3Ref< Derived > Base
 
- Public Types inherited from ow_core::Vector3Ref< _Derived >
typedef _Derived Derived
 
typedef VectorRef< Derived, 3 > Base
 
- Public Types inherited from ow_core::VectorRef< _Derived, 3 >
enum  
 
typedef _Derived Derived
 
typedef Eigen::Block< Derived, Rows, 1 > Base
 

Public Member Functions

 ForceRef (Derived &ref, int startRow=0, int startCol=0)
 Default Constructor. More...
 
- Public Member Functions inherited from ow_core::Vector3Ref< _Derived >
 Vector3Ref (Derived &ref, int startRow=0, int startCol=0)
 Default Constructor. More...
 
void operator= (const tf::Vector3 &x)
 Assignment of tf::Vector3.
 
void operator= (const geometry_msgs::Vector3 &x)
 Assignment of geometry_msgs::Vector3.
 
void operator= (const geometry_msgs::Point &x)
 Assignment of geometry_msgs::Point.
 
 operator tf::Vector3 () const
 Conversion to tf::Vector3.
 
 operator geometry_msgs::Point () const
 Conversion to geometry_msgs::Point.
 
 operator geometry_msgs::Vector3 () const
 Conversion to geometry_msgs::Point.
 
tf::Vector3 toVectorTF () const
 Conversion to tf::Vector3.
 
geometry_msgs::Point toPointMsg () const
 Conversion to geometry_msgs::Point.
 
geometry_msgs::Vector3 toVector3Msg () const
 Conversion to geometry_msgs::Point.
 
- Public Member Functions inherited from ow_core::VectorRef< _Derived, 3 >
 VectorRef (Derived &ref, int startRow=0, int startCol=0)
 Default Constructor. More...
 
std::string toString () const
 Conversion to std::string.
 

Detailed Description

template<typename _Derived>
class ow_core::ForceRef< _Derived >

The ForceRef class.

The ForceRef is of type Eigen::Vector3 and is represented by the math symbol $\mathbf{f}$.

References the data of another Eigen type class via Eigen::Block.

Constructor & Destructor Documentation

template<typename _Derived>
ow_core::ForceRef< _Derived >::ForceRef ( Derived &  ref,
int  startRow = 0,
int  startCol = 0 
)
inlineexplicit

Default Constructor.

Parameters
refthe reference to storage Eigen object to access the elements of the LinearVelocityn via Eigen::Block.
startRowthe start index of the row for Eigen::Block.
startColthe start index of the column for Eigen::Block.

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