#include <coulomb-friction-cone.hpp>
Public Types | |
typedef DualCoulombFrictionConeTpl< Scalar > | DualCone |
typedef _Scalar | Scalar |
typedef Eigen::Matrix< Scalar, 3, 1 > | Vector3 |
Public Member Functions | |
CoulombFrictionConeTpl (const CoulombFrictionConeTpl &other)=default | |
Copy constructor. More... | |
CoulombFrictionConeTpl (const Scalar mu) | |
Default constructor. More... | |
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. More... | |
bool | operator!= (const CoulombFrictionConeTpl &other) const |
Difference operator. More... | |
CoulombFrictionConeTpl & | operator= (const CoulombFrictionConeTpl &other)=default |
Copy operator. More... | |
bool | operator== (const CoulombFrictionConeTpl &other) const |
Comparison operator. More... | |
template<typename Vector3Like > | |
PINOCCHIO_EIGEN_PLAIN_TYPE (Vector3Like) project(const Eigen | |
Project a vector x onto the cone. More... | |
Public Attributes | |
Scalar | mu |
3d Coulomb friction cone.
Definition at line 20 of file algorithm/constraints/coulomb-friction-cone.hpp.
typedef DualCoulombFrictionConeTpl<Scalar> pinocchio::CoulombFrictionConeTpl< _Scalar >::DualCone |
Definition at line 23 of file algorithm/constraints/coulomb-friction-cone.hpp.
typedef _Scalar pinocchio::CoulombFrictionConeTpl< _Scalar >::Scalar |
Definition at line 22 of file algorithm/constraints/coulomb-friction-cone.hpp.
typedef Eigen::Matrix<Scalar, 3, 1> pinocchio::CoulombFrictionConeTpl< _Scalar >::Vector3 |
Definition at line 24 of file algorithm/constraints/coulomb-friction-cone.hpp.
|
inlineexplicit |
Default constructor.
[in] | mu | Friction coefficient |
Definition at line 29 of file algorithm/constraints/coulomb-friction-cone.hpp.
|
default |
Copy constructor.
|
inline |
Check whether a vector x lies within the cone.
[in] | f | vector to check (assimilated to a force vector). |
Definition at line 58 of file algorithm/constraints/coulomb-friction-cone.hpp.
|
inline |
Difference operator.
Definition at line 48 of file algorithm/constraints/coulomb-friction-cone.hpp.
|
default |
Copy operator.
|
inline |
Comparison operator.
Definition at line 42 of file algorithm/constraints/coulomb-friction-cone.hpp.
|
inline |
Project a vector x onto the cone.
[in] | x | a 3d vector to project. |
Project a vector x onto the cone with a matric specified by the diagonal matrix R.
\param[in] x a 3d vector to project. \param[in] R a 3d vector representing the diagonal of the weights matrix. The tangential components (the first two) of R should be equal.
Compute the complementary shift associted to the Coulomb friction cone for complementarity satisfaction in complementary problems.
[in] | v | a dual vector. |
Compute the radial projection associted to the Coulomb friction cone.
\param[in] f a force vector.
Definition at line 71 of file algorithm/constraints/coulomb-friction-cone.hpp.
Scalar pinocchio::CoulombFrictionConeTpl< _Scalar >::mu |
Definition at line 197 of file algorithm/constraints/coulomb-friction-cone.hpp.