|
| ContactModelNumDiffTpl (const boost::shared_ptr< Base > &model) |
| Construct a new ContactModelNumDiff object from a ContactModelAbstract. More...
|
|
virtual | ~ContactModelNumDiffTpl () |
| Default destructor of the ContactModelNumDiff object.
|
|
void | calc (const boost::shared_ptr< ContactDataAbstract > &data, const Eigen::Ref< const VectorXs > &x) |
| Compute the contact Jacobian and acceleration drift. More...
|
|
void | calcDiff (const boost::shared_ptr< ContactDataAbstract > &data, const Eigen::Ref< const VectorXs > &x) |
| Compute the derivatives of the acceleration-based contact. More...
|
|
boost::shared_ptr< ContactDataAbstract > | createData (pinocchio::DataTpl< Scalar > *const data) |
| Create a Data object. More...
|
|
const Scalar | get_disturbance () const |
| Return the disturbance constant used in the numerical differentiation routine.
|
|
const boost::shared_ptr< Base > & | get_model () const |
| Return the acton model that we use to numerical differentiate.
|
|
void | set_disturbance (const Scalar disturbance) |
| Modify the disturbance constant used in the numerical differentiation routine.
|
|
void | set_reevals (const std::vector< ReevaluationFunction > &reevals) |
| Register functions that take a pinocchio model, a pinocchio data, a state and a control. The updated data is used to evaluate of the gradient and Hessian. More...
|
|
void | updateForce (const boost::shared_ptr< ContactDataAbstract > &data, const VectorXs &force) |
| Convert the force into a stack of spatial forces. More...
|
|
| ContactModelAbstractTpl (boost::shared_ptr< StateMultibody > state, const pinocchio::ReferenceFrame type, const std::size_t nc) |
|
| ContactModelAbstractTpl (boost::shared_ptr< StateMultibody > state, const pinocchio::ReferenceFrame type, const std::size_t nc, const std::size_t nu) |
| Initialize the contact abstraction. More...
|
|
this assumes is | ContactModelAbstractTpl (boost::shared_ptr< StateMultibody > state, const std::size_t nc) |
|
| DEPRECATED ("Use constructor that passes the type type of contact, this assumes is " "pinocchio::LOCAL", ContactModelAbstractTpl(boost::shared_ptr< StateMultibody > state, const std::size_t nc, const std::size_t nu);) DEPRECATED("Use const ructor that passes the type type of contact |
|
pinocchio::FrameIndex | get_id () const |
| Return the reference frame id.
|
|
std::size_t | get_nc () const |
| Return the dimension of the contact.
|
|
std::size_t | get_nu () const |
| Return the dimension of the control vector.
|
|
const boost::shared_ptr< StateMultibody > & | get_state () const |
| Return the state.
|
|
pinocchio::ReferenceFrame | get_type () const |
| Return the type of contact.
|
|
virtual void | print (std::ostream &os) const |
| Print relevant information of the contact model. More...
|
|
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 boost::shared_ptr< ContactDataAbstract > &data) const |
| Set the stack of spatial forces to zero. More...
|
|
void | setZeroForceDiff (const boost::shared_ptr< ContactDataAbstract > &data) const |
| Set the stack of spatial forces Jacobians to zero. More...
|
|
void | updateForceDiff (const boost::shared_ptr< ContactDataAbstract > &data, const MatrixXs &df_dx, const MatrixXs &df_du) const |
| Convert the force into a stack of spatial forces. More...
|
|
template<typename _Scalar>
class crocoddyl::ContactModelNumDiffTpl< _Scalar >
Definition at line 21 of file contact.hpp.