#include <memory>
#include "drake/multibody/plant/multibody_plant.h"
#include "drake/solvers/constraint.h"
#include "drake/solvers/mathematical_program.h"
Classes | |
class | UnitQuaternionConstraint |
Constrains the quaternion to have a unit length. More... | |
Namespaces | |
drake | |
drake::multibody | |
Functions | |
template<typename T > | |
void | AddUnitQuaternionConstraintOnPlant (const MultibodyPlant< T > &plant, const Eigen::Ref< const VectorX< symbolic::Variable >> &q_vars, solvers::MathematicalProgram *prog) |
Add unit length constraints to all the variables representing quaternion in q_vars . More... | |