![]() |
- 3.0.2 rigid body dynamics module.
|
State (pose and velocities) of a single rigid body. More...
#include <RigidBodyState.h>
Public Member Functions | |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW | RigidBodyState (typename RigidBodyPose< SCALAR >::STORAGE_TYPE storage=RigidBodyPose< SCALAR >::EULER) |
| RigidBodyState (const RigidBodyState< SCALAR > &arg) | |
| copy constructor More... | |
| virtual | ~RigidBodyState () |
| destructor More... | |
| RigidBodyPose< SCALAR > & | pose () |
| return the rigid body pose More... | |
| const RigidBodyPose< SCALAR > & | pose () const |
| return the rigid body pose (const) More... | |
| RigidBodyVelocities< SCALAR > & | velocities () |
| return the rigid body velocities More... | |
| const RigidBodyVelocities< SCALAR > & | velocities () const |
| return the rigid body velocities (const) More... | |
| bool | isApprox (const RigidBodyState &rhs, const double &tol=1e-10) |
| numerically comparing two rigid body states More... | |
| const kindr::Velocity< SCALAR, 3 > | computeTranslationalVelocityW () const |
| get translational velocity More... | |
| kindr::Velocity< SCALAR, 3 > | computeTranslationalVelocityW () |
| void | setIdentity () |
| void | setRandom () |
State (pose and velocities) of a single rigid body.
|
inline |
|
inline |
copy constructor
|
inlinevirtual |
destructor
|
inline |
return the rigid body pose
Referenced by ct::rbd::RBDState< NJOINTS, Scalar >::basePose(), ct::rbd::tpl::RigidBodyState< double >::computeTranslationalVelocityW(), ct::rbd::RBDState< NJOINTS, Scalar >::fromStateVectorEulerXyz(), ct::rbd::RBDState< NJOINTS, Scalar >::fromStateVectorQuaternion(), ct::rbd::tpl::RigidBodyState< double >::isApprox(), ct::rbd::tpl::RigidBodyState< double >::setIdentity(), ct::rbd::tpl::RigidBodyState< double >::setRandom(), testFunctionRBDState(), testFunctionRigidBodyState(), ct::rbd::RBDState< NJOINTS, Scalar >::toCoordinatePosition(), ct::rbd::RBDState< NJOINTS, Scalar >::toCoordinatePositionUnique(), and ct::rbd::RBDState< NJOINTS, Scalar >::toStateVectorQuaternion().
|
inline |
return the rigid body pose (const)
|
inline |
return the rigid body velocities
Referenced by ct::rbd::RBDState< NJOINTS, Scalar >::baseLinearVelocity(), ct::rbd::RBDState< NJOINTS, Scalar >::baseLocalAngularVelocity(), ct::rbd::RBDState< NJOINTS, Scalar >::baseVelocities(), ct::rbd::IDControllerFB< Dynamics >::computeDesiredAcceleration(), ct::rbd::tpl::RigidBodyState< double >::computeTranslationalVelocityW(), ct::rbd::RBDState< NJOINTS, Scalar >::fromStateVectorEulerXyz(), ct::rbd::RBDState< NJOINTS, Scalar >::fromStateVectorQuaternion(), ct::rbd::tpl::RigidBodyState< double >::isApprox(), ct::rbd::tpl::RigidBodyState< double >::setIdentity(), ct::rbd::tpl::RigidBodyState< double >::setRandom(), testFunctionRBDState(), testFunctionRigidBodyState(), ct::rbd::RBDState< NJOINTS, Scalar >::toCoordinateVelocity(), and ct::rbd::RBDState< NJOINTS, Scalar >::toStateVectorQuaternion().
|
inline |
return the rigid body velocities (const)
|
inline |
numerically comparing two rigid body states
Referenced by ct::rbd::RBDState< NJOINTS, Scalar >::isApprox().
|
inline |
get translational velocity
|
inline |
|
inline |
|
inline |
Referenced by ct::rbd::RBDState< NJOINTS, Scalar >::setRandom().