GCOP
1.0
|
#include <wrench.h>
Public Types | |
typedef Matrix< double, 6, 1 > | Vector6d |
typedef Matrix< double, c, 1 > | Vectorcd |
typedef Matrix< double, c, c > | Matrixcd |
typedef Matrix< double, 6, c > | Matrix6xcd |
typedef Matrix< double, 6, n > | Matrix6xnd |
Public Member Functions | |
Wrench (bool dx=true, bool du=true) | |
virtual void | F (Vector6d &f, double t, const T &x, const Vectorcd &u, Matrix6xnd *fx=0, Matrix6xcd *fu=0)=0 |
Public Attributes | |
bool | dx |
set to true if f depends on x | |
bool | du |
set to true if f depends on u |
An abstract wrench force function depending on the state on control inputs, i.e.
This can be regarded as 6-dimensional wrench applied to the body resulting from either control inputs, external forces, or both.
Author: Marin Kobilarov marin(at)jhu.edu
typedef Matrix<double, 6, c> gcop::Wrench< T, n, c >::Matrix6xcd |
typedef Matrix<double, 6, n> gcop::Wrench< T, n, c >::Matrix6xnd |
typedef Matrix<double, c, c> gcop::Wrench< T, n, c >::Matrixcd |
typedef Matrix<double, 6, 1> gcop::Wrench< T, n, c >::Vector6d |
typedef Matrix<double, c, 1> gcop::Wrench< T, n, c >::Vectorcd |
gcop::Wrench< T, n, c >::Wrench | ( | bool | dx = true , |
bool | du = true |
||
) |
Wrench force in 3d
dx | whether it depends on the state x |
du | whether it depends on the controls u |
virtual void gcop::Wrench< T, n, c >::F | ( | Vector6d & | f, |
double | t, | ||
const T & | x, | ||
const Vectorcd & | u, | ||
Matrix6xnd * | fx = 0 , |
||
Matrix6xcd * | fu = 0 |
||
) | [pure virtual] |
The force function
f | the resulting force |
t | time |
x | state |
u | controls |
fx | derivative w.r.t. state (optional) |
fu | derivative w.r.t. controls (optional) |
bool gcop::Wrench< T, n, c >::du |
set to true if f depends on u
bool gcop::Wrench< T, n, c >::dx |
set to true if f depends on x