|
robotoc
robotoc - efficient ROBOT Optimal Control solvers
|
Data for the switching constraint. More...
#include <switching_constraint_data.hpp>
Public Member Functions | |
| SwitchingConstraintData (const Robot &robot) | |
| Constructs a switching constraint. More... | |
| SwitchingConstraintData () | |
| Default constructor. More... | |
| ~SwitchingConstraintData ()=default | |
| Default destructor. More... | |
| SwitchingConstraintData (const SwitchingConstraintData &)=default | |
| Default copy constructor. More... | |
| SwitchingConstraintData & | operator= (const SwitchingConstraintData &)=default |
| Default copy assign operator. More... | |
| SwitchingConstraintData (SwitchingConstraintData &&) noexcept=default | |
| Default move constructor. More... | |
| SwitchingConstraintData & | operator= (SwitchingConstraintData &&) noexcept=default |
| Default move assign operator. More... | |
| void | setDimension (const int dims) |
| Sets the dimension of the switching constraint. More... | |
| Eigen::Block< Eigen::MatrixXd > | Pq () |
| Jacobian of the original contact position constraint w.r.t. q. More... | |
| const Eigen::Block< const Eigen::MatrixXd > | Pq () const |
| const version of SwitchingConstraintJacobian::Pq(). More... | |
| int | dims () const |
| Returns the dimension of the switching constraint. More... | |
Public Attributes | |
| Eigen::VectorXd | q |
| Eigen::VectorXd | dq |
| Eigen::VectorXd | PqT_xi |
Data for the switching constraint.
| robotoc::SwitchingConstraintData::SwitchingConstraintData | ( | const Robot & | robot | ) |
Constructs a switching constraint.
| [in] | robot | Robot model. |
| robotoc::SwitchingConstraintData::SwitchingConstraintData | ( | ) |
Default constructor.
|
default |
Default destructor.
|
default |
Default copy constructor.
|
defaultnoexcept |
Default move constructor.
|
inline |
Returns the dimension of the switching constraint.
|
default |
Default copy assign operator.
|
defaultnoexcept |
Default move assign operator.
|
inline |
Jacobian of the original contact position constraint w.r.t. q.
|
inline |
const version of SwitchingConstraintJacobian::Pq().
|
inline |
Sets the dimension of the switching constraint.
| [in] | dims | The dimension of the switching constraint. Must be non-negative. |
| Eigen::VectorXd robotoc::SwitchingConstraintData::dq |
| Eigen::VectorXd robotoc::SwitchingConstraintData::PqT_xi |
| Eigen::VectorXd robotoc::SwitchingConstraintData::q |