More...
#include <pinocchio/algorithm/constraints/coulomb-friction-cone.hpp>
|
| | CoulombFrictionConeTpl (const CoulombFrictionConeTpl &other)=default |
| | Copy constructor.
|
| | CoulombFrictionConeTpl (const Scalar mu) |
| | Default constructor.
|
| template<typename Vector3Like1, typename Vector3Like2> |
| Scalar | computeConicComplementarity (const Eigen::MatrixBase< Vector3Like1 > &v, const Eigen::MatrixBase< Vector3Like2 > &f) const |
| template<typename Vector3Like1, typename Vector3Like2> |
| Scalar | computeContactComplementarity (const Eigen::MatrixBase< Vector3Like1 > &v, const Eigen::MatrixBase< Vector3Like2 > &f) const |
| template<typename Vector3Like> |
| Vector3Like | computeNormalCorrection (const Eigen::MatrixBase< Vector3Like > &v) const |
| | Compute the complementary shift associted to the Coulomb friction cone for complementarity satisfaction in complementary problems.
|
| template<typename Vector3Like> |
| Vector3Like | computeRadialProjection (const Eigen::MatrixBase< Vector3Like > &f) const |
| | Compute the radial projection associted to the Coulomb friction cone.
|
| DualCone | dual () const |
| | Returns the dual cone associated to this.
|
| template<typename Vector3Like> |
| bool | isInside (const Eigen::MatrixBase< Vector3Like > &f, const Scalar prec=Scalar(0)) const |
| | Check whether a vector x lies within the cone.
|
| bool | operator!= (const CoulombFrictionConeTpl &other) const |
| | Difference operator.
|
| CoulombFrictionConeTpl & | operator= (const CoulombFrictionConeTpl &other)=default |
| | Copy operator.
|
| bool | operator== (const CoulombFrictionConeTpl &other) const |
| | Comparison operator.
|
| template<typename Vector3Like> |
| Vector3Like | project (const Eigen::MatrixBase< Vector3Like > &x) const |
| | Project a vector x onto the cone.
|
| template<typename Vector3Like> |
| Vector3Like | weightedProject (const Eigen::MatrixBase< Vector3Like > &x, const Eigen::MatrixBase< Vector3Like > &R) const |
| | Project a vector x onto the cone with a matric specified by the diagonal matrix R.
|
|
| static int | dim () |
| | Returns the dimension of the cone.
|
template<typename _Scalar>
struct pinocchio::CoulombFrictionConeTpl< _Scalar >
3d Coulomb friction cone.
Definition at line 20 of file coulomb-friction-cone.hpp.
◆ DualCone
template<typename _Scalar>
◆ Scalar
template<typename _Scalar>
◆ Vector3
template<typename _Scalar>
| typedef Eigen::Matrix<Scalar, 3, 1> Vector3 |
◆ CoulombFrictionConeTpl()
template<typename _Scalar>
◆ computeConicComplementarity()
template<typename _Scalar>
template<typename Vector3Like1, typename Vector3Like2>
| Scalar computeConicComplementarity | ( | const Eigen::MatrixBase< Vector3Like1 > & | v, | | | const Eigen::MatrixBase< Vector3Like2 > & | f ) const |
| inline |
◆ computeContactComplementarity()
template<typename _Scalar>
template<typename Vector3Like1, typename Vector3Like2>
| Scalar computeContactComplementarity | ( | const Eigen::MatrixBase< Vector3Like1 > & | v, | | | const Eigen::MatrixBase< Vector3Like2 > & | f ) const |
| inline |
◆ computeNormalCorrection()
template<typename _Scalar>
template<typename Vector3Like>
| Vector3Like computeNormalCorrection | ( | const Eigen::MatrixBase< Vector3Like > & | v | ) | const |
| inline |
Compute the complementary shift associted to the Coulomb friction cone for complementarity satisfaction in complementary problems.
- Parameters
Definition at line 130 of file coulomb-friction-cone.hpp.
◆ computeRadialProjection()
template<typename _Scalar>
template<typename Vector3Like>
| Vector3Like computeRadialProjection | ( | const Eigen::MatrixBase< Vector3Like > & | f | ) | const |
| inline |
◆ dim()
template<typename _Scalar>
◆ dual()
template<typename _Scalar>
◆ isInside()
template<typename _Scalar>
template<typename Vector3Like>
| bool isInside | ( | const Eigen::MatrixBase< Vector3Like > & | f, | | | const Scalar | prec = Scalar(0) ) const |
| inline |
Check whether a vector x lies within the cone.
- Parameters
| [in] | f | vector to check (assimilated to a force vector). |
Definition at line 58 of file coulomb-friction-cone.hpp.
◆ operator!=()
template<typename _Scalar>
◆ operator==()
template<typename _Scalar>
◆ project()
template<typename _Scalar>
template<typename Vector3Like>
| Vector3Like project | ( | const Eigen::MatrixBase< Vector3Like > & | x | ) | const |
| inline |
◆ weightedProject()
template<typename _Scalar>
template<typename Vector3Like>
| Vector3Like weightedProject | ( | const Eigen::MatrixBase< Vector3Like > & | x, | | | const Eigen::MatrixBase< Vector3Like > & | R ) const |
| inline |
Project a vector x onto the cone with a matric specified by the diagonal matrix R.
- Parameters
| [in] | x | a 3d vector to project. |
| [in] | R | a 3d vector representing the diagonal of the weights matrix. The tangential components (the first two) of R should be equal. |
Definition at line 108 of file coulomb-friction-cone.hpp.
◆ mu
template<typename _Scalar>
The documentation for this struct was generated from the following file: