#include <constraint-model-base.hpp>
Public Types | |
enum | { Options = traits<Derived>::Options } |
typedef Eigen::Matrix< bool, Eigen::Dynamic, 1, Options > | BooleanVector |
typedef traits< Derived >::ConstraintData | ConstraintData |
typedef std::vector< Eigen::DenseIndex > | IndexVector |
typedef traits< Derived >::Scalar | Scalar |
Public Types inherited from pinocchio::NumericalBase< Derived > | |
typedef traits< Derived >::Scalar | Scalar |
Public Member Functions | |
template<int Options, template< typename, int > class JointCollectionTpl> | |
void | calc (const ModelTpl< Scalar, Options, JointCollectionTpl > &model, const DataTpl< Scalar, Options, JointCollectionTpl > &data, ConstraintData &cdata) const |
Evaluate the constraint values at the current state given by data and store the results in cdata. More... | |
template<typename NewScalar > | |
CastType< NewScalar, Derived >::type | cast () const |
ConstraintData | createData () const |
Derived & | derived () |
const Derived & | derived () const |
template<typename JacobianMatrix , int Options, template< typename, int > class JointCollectionTpl> | |
void | jacobian (const ModelTpl< Scalar, Options, JointCollectionTpl > &model, const DataTpl< Scalar, Options, JointCollectionTpl > &data, ConstraintData &cdata, const Eigen::MatrixBase< JacobianMatrix > &jacobian_matrix) const |
template<typename OtherDerived > | |
ConstraintModelBase & | operator= (const ConstraintModelBase< OtherDerived > &other) |
template<typename OtherDerived > | |
bool | operator== (const ConstraintModelBase< OtherDerived > &other) const |
Public Attributes | |
IndexVector | colwise_span_indexes |
Indexes of the columns spanned by the constraints. More... | |
BooleanVector | colwise_sparsity |
Sparsity pattern associated to the constraint;. More... | |
std::string | name |
Name of the constraint. More... | |
Protected Member Functions | |
ConstraintModelBase & | base () |
const ConstraintModelBase & | base () const |
ConstraintModelBase () | |
Default constructor. More... | |
template<int Options, template< typename, int > class JointCollectionTpl> | |
ConstraintModelBase (const ModelTpl< Scalar, Options, JointCollectionTpl > &model) | |
Definition at line 15 of file constraint-model-base.hpp.
typedef Eigen::Matrix<bool, Eigen::Dynamic, 1, Options> pinocchio::ConstraintModelBase< Derived >::BooleanVector |
Definition at line 24 of file constraint-model-base.hpp.
typedef traits<Derived>::ConstraintData pinocchio::ConstraintModelBase< Derived >::ConstraintData |
Definition at line 22 of file constraint-model-base.hpp.
typedef std::vector<Eigen::DenseIndex> pinocchio::ConstraintModelBase< Derived >::IndexVector |
Definition at line 26 of file constraint-model-base.hpp.
typedef traits<Derived>::Scalar pinocchio::ConstraintModelBase< Derived >::Scalar |
Definition at line 17 of file constraint-model-base.hpp.
anonymous enum |
Enumerator | |
---|---|
Options |
Definition at line 18 of file constraint-model-base.hpp.
|
inlineprotected |
Definition at line 99 of file constraint-model-base.hpp.
|
inlineprotected |
Default constructor.
Definition at line 107 of file constraint-model-base.hpp.
|
inlineprotected |
Definition at line 111 of file constraint-model-base.hpp.
|
inlineprotected |
Definition at line 115 of file constraint-model-base.hpp.
|
inline |
Evaluate the constraint values at the current state given by data and store the results in cdata.
Definition at line 46 of file constraint-model-base.hpp.
|
inline |
Definition at line 38 of file constraint-model-base.hpp.
|
inline |
Definition at line 92 of file constraint-model-base.hpp.
|
inline |
Definition at line 28 of file constraint-model-base.hpp.
|
inline |
Definition at line 32 of file constraint-model-base.hpp.
|
inline |
Definition at line 55 of file constraint-model-base.hpp.
|
inline |
Definition at line 83 of file constraint-model-base.hpp.
|
inline |
Definition at line 76 of file constraint-model-base.hpp.
IndexVector pinocchio::ConstraintModelBase< Derived >::colwise_span_indexes |
Indexes of the columns spanned by the constraints.
Definition at line 73 of file constraint-model-base.hpp.
BooleanVector pinocchio::ConstraintModelBase< Derived >::colwise_sparsity |
Sparsity pattern associated to the constraint;.
Definition at line 70 of file constraint-model-base.hpp.
std::string pinocchio::ConstraintModelBase< Derived >::name |
Name of the constraint.
Definition at line 67 of file constraint-model-base.hpp.