A recipe collects a list of ingredients for DifferentialInverseKinematicsSystem, allowing the user to customize the program being solved.
#include <drake/multibody/inverse_kinematics/differential_inverse_kinematics_system.h>
Public Member Functions | |
Recipe () | |
~Recipe () | |
void | AddIngredient (std::shared_ptr< const Ingredient > ingredient) |
int | num_ingredients () const |
const Ingredient & | ingredient (int i) const |
std::vector< solvers::Binding< solvers::EvaluatorBase > > | AddToProgram (CallbackDetails *details) const |
Calls DifferentialInverseKinematicsSystem::Ingredient::AddToProgram on all of the ingredients in this recipe. More... | |
Does not allow copy, move, or assignment | |
Recipe (const Recipe &)=delete | |
Recipe & | operator= (const Recipe &)=delete |
Recipe (Recipe &&)=delete | |
Recipe & | operator= (Recipe &&)=delete |
Recipe | ( | ) |
~Recipe | ( | ) |
void AddIngredient | ( | std::shared_ptr< const Ingredient > | ingredient | ) |
std::vector<solvers::Binding<solvers::EvaluatorBase> > AddToProgram | ( | CallbackDetails * | details | ) | const |
Calls DifferentialInverseKinematicsSystem::Ingredient::AddToProgram on all of the ingredients in this recipe.
const Ingredient& ingredient | ( | int | i | ) | const |
int num_ingredients | ( | ) | const |