#include <mc_solver/CompoundJointConstraint.h>
Public Member Functions | |
CompoundJointConstraint (const mc_rbdyn::Robots &robots, unsigned int robotIndex, double dt) | |
CompoundJointConstraint (const mc_rbdyn::Robots &robot, unsigned int robotIndex, double dt, const CompoundJointConstraintDescriptionVector &cs) | |
void | addToSolverImpl (QPSolver &solver) override |
void | removeFromSolverImpl (QPSolver &solver) override |
Public Member Functions inherited from mc_solver::ConstraintSet | |
ConstraintSet () | |
void | addToSolver (mc_solver::QPSolver &solver) |
virtual void | update (QPSolver &) |
Update the constraint. More... | |
void | removeFromSolver (mc_solver::QPSolver &solver) |
virtual | ~ConstraintSet () |
bool | inSolver () const noexcept |
QPSolver::Backend | backend () const noexcept |
Additional Inherited Members | |
Protected Attributes inherited from mc_solver::ConstraintSet | |
QPSolver::Backend | backend_ |
bool | inSolver_ = false |
Adds a compound joint constraint for a given robot
mc_solver::CompoundJointConstraint::CompoundJointConstraint | ( | const mc_rbdyn::Robots & | robots, |
unsigned int | robotIndex, | ||
double | dt | ||
) |
mc_solver::CompoundJointConstraint::CompoundJointConstraint | ( | const mc_rbdyn::Robots & | robot, |
unsigned int | robotIndex, | ||
double | dt, | ||
const CompoundJointConstraintDescriptionVector & | cs | ||
) |
|
overridevirtual |
Should take care of the actual insertion into a concrete solver
Implements mc_solver::ConstraintSet.
|
overridevirtual |
Should take care of the actual removal from a concrete solver
Implements mc_solver::ConstraintSet.