Drake
inverseKinBackend.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 #include <Eigen/StdVector>
5 #include <Eigen/Dense>
6 class RigidBodyTree;
8 class IKoptions;
9 
10 namespace Drake {
11 namespace systems {
12 namespace plants {
13 
16 template <typename DerivedA, typename DerivedB, typename DerivedC,
17  typename DerivedD, typename DerivedE>
18 void inverseKinBackend(RigidBodyTree *model, const int mode, const int nT,
19  const double *t,
20  const Eigen::MatrixBase<DerivedA>& q_seed,
21  const Eigen::MatrixBase<DerivedB>& q_nom,
22  int num_constraints,
23  RigidBodyConstraint **const constraint_array,
24  const IKoptions& ikoptions,
25  Eigen::MatrixBase<DerivedC>* q_sol,
26  Eigen::MatrixBase<DerivedD>* qdot_sol,
27  Eigen::MatrixBase<DerivedE>* qddot_sol, int *INFO,
28  std::vector<std::string>* infeasible_constraint);
29 
30 template <typename DerivedA, typename DerivedB, typename DerivedC,
31  typename DerivedD, typename DerivedE>
32 void inverseKinSnoptBackend(RigidBodyTree *model, const int mode, const int nT,
33  const double *t,
34  const Eigen::MatrixBase<DerivedA>& q_seed,
35  const Eigen::MatrixBase<DerivedB>& q_nom,
36  int num_constraints,
37  RigidBodyConstraint** const constraint_array,
38  const IKoptions& ikoptions,
39  Eigen::MatrixBase<DerivedC>* q_sol,
40  Eigen::MatrixBase<DerivedD>* qdot_sol,
41  Eigen::MatrixBase<DerivedE>* qddot_sol, int *INFO,
42  std::vector<std::string>* infeasible_constraint);
43 }
44 }
45 }
static RigidBodyTree * model
Definition: inverseKinSnoptBackend.cpp:44
void inverseKinSnoptBackend(RigidBodyTree *model, const int mode, const int nT, const double *t, const Eigen::MatrixBase< DerivedA > &q_seed, const Eigen::MatrixBase< DerivedB > &q_nom, int num_constraints, RigidBodyConstraint **const constraint_array, const IKoptions &ikoptions, Eigen::MatrixBase< DerivedC > *q_sol, Eigen::MatrixBase< DerivedD > *qdot_sol, Eigen::MatrixBase< DerivedE > *qddot_sol, int *INFO, std::vector< std::string > *infeasible_constraint)
NOTE: The contents of this class are for the most part direct ports of drake/systems/plants//inverseK...
Definition: Function.h:14
static int nT
Definition: inverseKinSnoptBackend.cpp:72
void inverseKinBackend(RigidBodyTree *model, const int mode, const int nT, const double *t, const MatrixBase< DerivedA > &q_seed, const MatrixBase< DerivedB > &q_nom, const int num_constraints, RigidBodyConstraint **const constraint_array, const IKoptions &ikoptions, MatrixBase< DerivedC > *q_sol, MatrixBase< DerivedD > *qdot_sol, MatrixBase< DerivedE > *qddot_sol, int *INFO, std::vector< std::string > *infeasible_constraint)
Definition: inverseKinBackend.cpp:261
static double * t
Definition: inverseKinSnoptBackend.cpp:62
Definition: IKoptions.h:8
base class.
Definition: RigidBodyConstraint.h:27
static MatrixXd q_nom
Definition: inverseKinSnoptBackend.cpp:48
Definition: RigidBodyTree.h:72