- 3.0.2 rigid body dynamics module.
|
Inverse Kinematics joint limit constraints. More...
#include <JointLimitConstraints.h>
Public Types | |
using | VectorXs = Eigen::Matrix< SCALAR, Eigen::Dynamic, 1 > |
using | JointPosition = typename ct::rbd::JointState< KINEMATICS::NJOINTS, SCALAR >::Position |
Public Types inherited from ct::optcon::tpl::DiscreteConstraintBase< SCALAR > | |
typedef Eigen::Matrix< SCALAR, Eigen::Dynamic, 1 > | VectorXs |
Public Member Functions | |
JointLimitConstraints (std::shared_ptr< ct::optcon::tpl::OptVector< SCALAR >> optVector, const JointPosition &lowerBound, const JointPosition &upperBound) | |
~JointLimitConstraints () override=default | |
VectorXs | eval () override |
VectorXs | evalSparseJacobian () override |
size_t | getConstraintSize () override |
size_t | getNumNonZerosJacobian () override |
void | genSparsityPattern (Eigen::VectorXi &iRow_vec, Eigen::VectorXi &jCol_vec) override |
void | genSparsityPatternHessian (Eigen::VectorXi &iRow_vec, Eigen::VectorXi &jCol_vec) override |
void | sparseHessianValues (const Eigen::VectorXd &optVec, const Eigen::VectorXd &lambda, Eigen::VectorXd &sparseHes) override |
VectorXs | getLowerBound () override |
VectorXs | getUpperBound () override |
const VectorXs | getLowerBound () const |
const VectorXs | getUpperBound () const |
Public Member Functions inherited from ct::optcon::tpl::DiscreteConstraintBase< SCALAR > | |
DiscreteConstraintBase ()=default | |
virtual | ~DiscreteConstraintBase ()=default |
Eigen::VectorXi & | iRowHessian () |
Eigen::VectorXi & | jColHessian () |
Additional Inherited Members | |
Protected Member Functions inherited from ct::optcon::tpl::DiscreteConstraintBase< SCALAR > | |
size_t | genDiagonalIndices (const size_t col_start, const size_t num_elements, Eigen::VectorXi &iRow_vec, Eigen::VectorXi &jCol_vec, const size_t indexNumber) |
size_t | genBlockIndices (const size_t col_start, const size_t num_rows, const size_t num_cols, Eigen::VectorXi &iRow_vec, Eigen::VectorXi &jCol_vec, const size_t indexNumber) |
Protected Attributes inherited from ct::optcon::tpl::DiscreteConstraintBase< SCALAR > | |
Eigen::VectorXi | iRowHessian_ |
Eigen::VectorXi | jColHessian_ |
Inverse Kinematics joint limit constraints.
using ct::rbd::JointLimitConstraints< KINEMATICS, SCALAR >::VectorXs = Eigen::Matrix<SCALAR, Eigen::Dynamic, 1> |
using ct::rbd::JointLimitConstraints< KINEMATICS, SCALAR >::JointPosition = typename ct::rbd::JointState<KINEMATICS::NJOINTS, SCALAR>::Position |
|
inline |
|
overridedefault |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Implements ct::optcon::tpl::DiscreteConstraintBase< SCALAR >.
References i.
|
inlineoverridevirtual |
Reimplemented from ct::optcon::tpl::DiscreteConstraintBase< SCALAR >.
|
inlineoverridevirtual |
Reimplemented from ct::optcon::tpl::DiscreteConstraintBase< SCALAR >.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inline |
|
inline |