Public Types | |
| typedef ImpulseModelAbstractTpl< Scalar > | Base |
| typedef ImpulseData3DTpl< Scalar > | Data |
| typedef ImpulseDataAbstractTpl< Scalar > | ImpulseDataAbstract |
| typedef MathBaseTpl< Scalar > | MathBase |
| typedef MathBase::MatrixXs | Matrix3s |
| typedef MathBase::MatrixXs | MatrixXs |
| typedef StateMultibodyTpl< Scalar > | StateMultibody |
| typedef MathBase::Vector2s | Vector2s |
| typedef MathBase::Vector3s | Vector3s |
| typedef MathBase::VectorXs | VectorXs |
Public Types inherited from ImpulseModelAbstractTpl< _Scalar > | |
| typedef ImpulseDataAbstractTpl< Scalar > | ImpulseDataAbstract |
| typedef MathBaseTpl< Scalar > | MathBase |
| typedef MathBase::MatrixXs | MatrixXs |
| typedef StateMultibodyTpl< Scalar > | StateMultibody |
| typedef MathBase::VectorXs | VectorXs |
Public Member Functions | |
| ImpulseModel3DTpl (std::shared_ptr< StateMultibody > state, const pinocchio::FrameIndex id, const pinocchio::ReferenceFrame type=pinocchio::ReferenceFrame::LOCAL) | |
| Initialize the 3d impulse model. | |
| virtual void | calc (const std::shared_ptr< ImpulseDataAbstract > &data, const Eigen::Ref< const VectorXs > &x) override |
| Compute the 6d impulse Jacobian. | |
| virtual void | calcDiff (const std::shared_ptr< ImpulseDataAbstract > &data, const Eigen::Ref< const VectorXs > &x) override |
| Compute the derivatives of the 6d impulse holonomic constraint. | |
| template<typename NewScalar > | |
| ImpulseModel3DTpl< NewScalar > | cast () const |
| Cast the impulse-3d model to a different scalar type. | |
| virtual std::shared_ptr< ImpulseDataAbstract > | createData (pinocchio::DataTpl< Scalar > *const data) override |
| Create the 6d impulse data. | |
| virtual void | print (std::ostream &os) const override |
| Print relevant information of the 3d impulse model. | |
| virtual void | updateForce (const std::shared_ptr< ImpulseDataAbstract > &data, const VectorXs &force) override |
| Convert the force into a stack of spatial forces. | |
Public Member Functions inherited from ImpulseModelAbstractTpl< _Scalar > | |
| ImpulseModelAbstractTpl (std::shared_ptr< StateMultibody > state, const pinocchio::ReferenceFrame type, const std::size_t nc) | |
| DEPRECATED ("Use constructor that passes the type type of contact, this assumes is " "pinocchio::LOCAL", ImpulseModelAbstractTpl(std::shared_ptr< StateMultibody > state, const std::size_t nc);) virtual ~ImpulseModelAbstractTpl()=default | |
| DEPRECATED("Use get_nc().", std::size_t get_ni() const ;) std pinocchio::FrameIndex | get_id () const |
| Return the reference frame id. | |
| std::size_t | get_nc () const |
| const std::shared_ptr< StateMultibody > & | get_state () const |
| pinocchio::ReferenceFrame | get_type () const |
| Return the type of contact. | |
| void | set_id (const pinocchio::FrameIndex id) |
| Modify the reference frame id. | |
| void | set_type (const pinocchio::ReferenceFrame type) |
| Modify the type of contact. | |
| void | setZeroForce (const std::shared_ptr< ImpulseDataAbstract > &data) const |
| void | setZeroForceDiff (const std::shared_ptr< ImpulseDataAbstract > &data) const |
| void | updateForceDiff (const std::shared_ptr< ImpulseDataAbstract > &data, const MatrixXs &df_dx) const |
Public Attributes | |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar | Scalar |
Public Attributes inherited from ImpulseModelAbstractTpl< _Scalar > | |
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar | Scalar |
Protected Attributes | |
| pinocchio::FrameIndex | id_ |
| Reference frame id of the contact. | |
| std::shared_ptr< StateMultibody > | state_ |
| pinocchio::ReferenceFrame | type_ |
| Type of contact. | |
Protected Attributes inherited from ImpulseModelAbstractTpl< _Scalar > | |
| pinocchio::FrameIndex | id_ |
| Reference frame id of the contact. | |
| std::size_t | nc_ |
| std::shared_ptr< StateMultibody > | state_ |
| pinocchio::ReferenceFrame | type_ |
| Type of contact. | |
Definition at line 19 of file impulse-3d.hpp.
| typedef MathBaseTpl<Scalar> MathBase |
Definition at line 25 of file impulse-3d.hpp.
| typedef ImpulseModelAbstractTpl<Scalar> Base |
Definition at line 26 of file impulse-3d.hpp.
| typedef ImpulseData3DTpl<Scalar> Data |
Definition at line 27 of file impulse-3d.hpp.
| typedef StateMultibodyTpl<Scalar> StateMultibody |
Definition at line 28 of file impulse-3d.hpp.
| typedef ImpulseDataAbstractTpl<Scalar> ImpulseDataAbstract |
Definition at line 29 of file impulse-3d.hpp.
| typedef MathBase::Vector2s Vector2s |
Definition at line 30 of file impulse-3d.hpp.
| typedef MathBase::Vector3s Vector3s |
Definition at line 31 of file impulse-3d.hpp.
| typedef MathBase::VectorXs VectorXs |
Definition at line 32 of file impulse-3d.hpp.
| typedef MathBase::MatrixXs Matrix3s |
Definition at line 33 of file impulse-3d.hpp.
| typedef MathBase::MatrixXs MatrixXs |
Definition at line 34 of file impulse-3d.hpp.
| ImpulseModel3DTpl | ( | std::shared_ptr< StateMultibody > | state, |
| const pinocchio::FrameIndex | id, | ||
| const pinocchio::ReferenceFrame | type = pinocchio::ReferenceFrame::LOCAL |
||
| ) |
Initialize the 3d impulse model.
| [in] | state | State of the multibody system |
| [in] | id | Reference frame id of the impulse |
| [in] | type | Type of impulse (default LOCAL) |
|
overridevirtual |
Compute the 6d impulse Jacobian.
| [in] | data | 6d impulse data |
| [in] | x | State point \(\mathbf{x}\in\mathbb{R}^{ndx}\) |
Implements ImpulseModelAbstractTpl< _Scalar >.
|
overridevirtual |
Compute the derivatives of the 6d impulse holonomic constraint.
| [in] | data | 6d impulse data |
| [in] | x | State point \(\mathbf{x}\in\mathbb{R}^{ndx}\) |
Implements ImpulseModelAbstractTpl< _Scalar >.
|
overridevirtual |
Convert the force into a stack of spatial forces.
| [in] | data | 6d impulse data |
| [in] | force | 6d impulse |
Implements ImpulseModelAbstractTpl< _Scalar >.
|
overridevirtual |
Create the 6d impulse data.
Reimplemented from ImpulseModelAbstractTpl< _Scalar >.
| ImpulseModel3DTpl< NewScalar > cast | ( | ) | const |
Cast the impulse-3d model to a different scalar type.
It is useful for operations requiring different precision or scalar types.
| NewScalar | The new scalar type to cast to. |
|
overridevirtual |
Print relevant information of the 3d impulse model.
| [out] | os | Output stream object |
Reimplemented from ImpulseModelAbstractTpl< _Scalar >.
| EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar |
Definition at line 24 of file impulse-3d.hpp.
|
protected |
Reference frame id of the contact.
Definition at line 107 of file impulse-base.hpp.
|
protected |
Definition at line 105 of file impulse-base.hpp.
|
protected |
Type of contact.
Definition at line 108 of file impulse-base.hpp.