- 3.0.2 rigid body dynamics module.
|
joint acceleration and base acceleration More...
#include <RBDAcceleration.h>
Public Types | |
enum | DIMS { NDOF = NJOINTS + 6, NSTATE = 2 * NDOF } |
typedef Eigen::Matrix< SCALAR, NDOF, 1 > | coordinate_vector_t |
typedef tpl::RigidBodyAcceleration< SCALAR > | RigidBodyAcceleration_t |
Public Member Functions | |
RBDAcceleration () | |
RBDAcceleration (const RigidBodyAcceleration_t &baseStateDerivative, const JointAcceleration< NJOINTS, SCALAR > &jointStateDerivative) | |
RigidBodyAcceleration_t & | base () |
get base acceleration More... | |
const RigidBodyAcceleration_t & | base () const |
get constant base acceleration More... | |
JointAcceleration< NJOINTS, SCALAR > & | joints () |
get joint acceleration More... | |
const JointAcceleration< NJOINTS, SCALAR > & | joints () const |
get constant joint acceleration More... | |
RBDState< NJOINTS, SCALAR >::state_vector_quat_t | toStateUpdateVectorQuaternion (const RBDState< NJOINTS, SCALAR > &state) const |
RBDState< NJOINTS, SCALAR >::state_vector_euler_t | toStateUpdateVectorEulerXyz (const RBDState< NJOINTS, SCALAR > &state) const |
coordinate_vector_t | toCoordinateAcceleration () const |
void | setZero () |
Static Public Member Functions | |
static RBDAcceleration< NJOINTS, SCALAR > | Zero () |
Protected Attributes | |
RigidBodyAcceleration_t | baseStateDerivative_ |
JointAcceleration< NJOINTS, SCALAR > | jointStateDerivative_ |
joint acceleration and base acceleration
typedef Eigen::Matrix<SCALAR, NDOF, 1> ct::rbd::RBDAcceleration< NJOINTS, SCALAR >::coordinate_vector_t |
typedef tpl::RigidBodyAcceleration<SCALAR> ct::rbd::RBDAcceleration< NJOINTS, SCALAR >::RigidBodyAcceleration_t |
enum ct::rbd::RBDAcceleration::DIMS |
|
inline |
|
inline |
|
inline |
get base acceleration
References ct::rbd::RBDAcceleration< NJOINTS, SCALAR >::baseStateDerivative_.
Referenced by ct::rbd::IDControllerFB< Dynamics >::computeDesiredAcceleration(), ct::rbd::Dynamics< RBD, NEE >::FloatingBaseForwardDynamics(), ct::rbd::ProjectedDynamics< RBD, NEE >::ProjectedForwardDynamics(), ct::rbd::RBDAcceleration< NJOINTS, SCALAR >::toCoordinateAcceleration(), ct::rbd::RBDAcceleration< NJOINTS, SCALAR >::toStateUpdateVectorEulerXyz(), and ct::rbd::RBDAcceleration< NJOINTS, SCALAR >::toStateUpdateVectorQuaternion().
|
inline |
get constant base acceleration
References ct::rbd::RBDAcceleration< NJOINTS, SCALAR >::baseStateDerivative_.
|
inline |
get joint acceleration
References ct::rbd::RBDAcceleration< NJOINTS, SCALAR >::jointStateDerivative_.
Referenced by ct::rbd::Dynamics< RBD, NEE >::FloatingBaseForwardDynamics(), ct::rbd::ProjectedDynamics< RBD, NEE >::ProjectedForwardDynamics(), ct::rbd::RBDAcceleration< NJOINTS, SCALAR >::toCoordinateAcceleration(), ct::rbd::RBDAcceleration< NJOINTS, SCALAR >::toStateUpdateVectorEulerXyz(), and ct::rbd::RBDAcceleration< NJOINTS, SCALAR >::toStateUpdateVectorQuaternion().
|
inline |
get constant joint acceleration
References ct::rbd::RBDAcceleration< NJOINTS, SCALAR >::jointStateDerivative_.
|
inline |
References ct::rbd::RBDAcceleration< NJOINTS, SCALAR >::base(), ct::rbd::RBDState< NJOINTS, SCALAR >::base(), ct::rbd::RBDState< NJOINTS, SCALAR >::baseLocalAngularVelocity(), ct::rbd::RBDState< NJOINTS, SCALAR >::basePose(), ct::rbd::tpl::RigidBodyAcceleration< SCALAR >::getAngularAcceleration(), ct::rbd::tpl::RigidBodyAcceleration< SCALAR >::getTranslationalAcceleration(), ct::rbd::RBDAcceleration< NJOINTS, SCALAR >::joints(), and ct::rbd::RBDState< NJOINTS, SCALAR >::joints().
|
inline |
References ct::rbd::RBDAcceleration< NJOINTS, SCALAR >::base(), ct::rbd::RBDState< NJOINTS, SCALAR >::base(), ct::rbd::RBDState< NJOINTS, SCALAR >::baseLocalAngularVelocity(), ct::rbd::RBDState< NJOINTS, SCALAR >::basePose(), ct::rbd::tpl::RigidBodyAcceleration< SCALAR >::getAngularAcceleration(), ct::rbd::tpl::RigidBodyAcceleration< SCALAR >::getTranslationalAcceleration(), ct::rbd::RBDAcceleration< NJOINTS, SCALAR >::joints(), ct::rbd::RBDState< NJOINTS, SCALAR >::joints(), and ct::core::StateVector< STATE_DIM, SCALAR >::toImplementation().
|
inline |
References ct::rbd::RBDAcceleration< NJOINTS, SCALAR >::base(), ct::rbd::tpl::RigidBodyAcceleration< SCALAR >::getAngularAcceleration(), ct::rbd::tpl::RigidBodyAcceleration< SCALAR >::getTranslationalAcceleration(), and ct::rbd::RBDAcceleration< NJOINTS, SCALAR >::joints().
Referenced by ct::rbd::ProjectedDynamics< RBD, NEE >::ProjectedDynamics().
|
inline |
References ct::rbd::RBDAcceleration< NJOINTS, SCALAR >::baseStateDerivative_, ct::rbd::RBDAcceleration< NJOINTS, SCALAR >::jointStateDerivative_, and ct::rbd::tpl::RigidBodyAcceleration< SCALAR >::setZero().
Referenced by ct::rbd::IDControllerFB< Dynamics >::computeDesiredAcceleration(), and ct::rbd::RBDAcceleration< NJOINTS, SCALAR >::RBDAcceleration().
|
inlinestatic |
|
protected |
|
protected |