![]() |
- 3.0.2 rigid body dynamics module.
|
A spatial force vector This vector contains a torque (angular) in the upper three rows and a linear force in the lower three rows. More...
#include <SpatialForceVector.h>
Public Types | |
| typedef Eigen::Matrix< SCALAR, 6, 1 > | spatial_force_vector_t |
| special vector type More... | |
| typedef Eigen::VectorBlock< spatial_force_vector_t, 3 > | ForceTorqueBlock |
| 3D force or torque block inside of the spacial vector More... | |
| typedef Eigen::VectorBlock< const spatial_force_vector_t, 3 > | ForceTorqueBlockConst |
| const 3D force or torque block inside of the spacial vector More... | |
Public Member Functions | |
| SpatialForceVector () | |
| Default constructor. More... | |
| SpatialForceVector (const spatial_force_vector_t &vector6) | |
| Copy constructor. More... | |
| spatial_force_vector_t & | toImplementation () |
| Returns the Eigen implementation. More... | |
| const spatial_force_vector_t & | toImplementation () const |
| Returns the Eigen implementation. More... | |
| SpatialForceVector & | setZero () |
| Sets all entries to zero. More... | |
| bool | operator== (const spatial_force_vector_t &rhs) const |
| Comparison operator (exact, subject to floating point rounding) More... | |
| bool | operator!= (const spatial_force_vector_t &rhs) const |
| Comparison operator (exact, subject to floating point rounding) More... | |
| spatial_force_vector_t | operator+ (const spatial_force_vector_t &rhs) const |
| Sums two spatial forces component-wise. More... | |
| spatial_force_vector_t | operator- (const spatial_force_vector_t &rhs) const |
| Substracts two spatial forces component-wise. More... | |
| spatial_force_vector_t | operator* (const SCALAR &scalar) const |
| Scales a spatial forces component-wise. More... | |
| spatial_force_vector_t | operator/ (const SCALAR &scalar) const |
| Divides a spatial forces component-wise. More... | |
| ForceTorqueBlock | torque () |
| Get the torque block (upper 3D block) More... | |
| const ForceTorqueBlockConst | torque () const |
| Get the torque block (upper 3D block) More... | |
| ForceTorqueBlock | force () |
| Get the force block (lower 3D block) More... | |
| const ForceTorqueBlockConst | force () const |
| Get the force block (lower 3D block) More... | |
A spatial force vector This vector contains a torque (angular) in the upper three rows and a linear force in the lower three rows.
| typedef Eigen::Matrix<SCALAR, 6, 1> ct::rbd::SpatialForceVector< SCALAR >::spatial_force_vector_t |
special vector type
| typedef Eigen::VectorBlock<spatial_force_vector_t, 3> ct::rbd::SpatialForceVector< SCALAR >::ForceTorqueBlock |
3D force or torque block inside of the spacial vector
| typedef Eigen::VectorBlock<const spatial_force_vector_t, 3> ct::rbd::SpatialForceVector< SCALAR >::ForceTorqueBlockConst |
const 3D force or torque block inside of the spacial vector
|
inline |
Default constructor.
|
inline |
Copy constructor.
|
inline |
Returns the Eigen implementation.
|
inline |
Returns the Eigen implementation.
|
inline |
Sets all entries to zero.
|
inline |
Comparison operator (exact, subject to floating point rounding)
|
inline |
Comparison operator (exact, subject to floating point rounding)
|
inline |
Sums two spatial forces component-wise.
|
inline |
Substracts two spatial forces component-wise.
|
inline |
Scales a spatial forces component-wise.
|
inline |
Divides a spatial forces component-wise.
|
inline |
Get the torque block (upper 3D block)
Referenced by ct::rbd::Kinematics< RBD, NEE >::mapForceFromEEToLink(), and ct::rbd::Kinematics< RBD, NEE >::mapForceFromWorldToLink().
|
inline |
Get the torque block (upper 3D block)
|
inline |
Get the force block (lower 3D block)
Referenced by ct::rbd::Kinematics< RBD, NEE >::mapForceFromEEToLink(), ct::rbd::Kinematics< RBD, NEE >::mapForceFromWorldToLink(), and ct::rbd::Kinematics< RBD, NEE >::mapForceFromWorldToLink3d().
|
inline |
Get the force block (lower 3D block)