tsid 1.9.0
Efficient Task Space Inverse Dynamics for Multi-body Systems based on Pinocchio
Loading...
Searching...
No Matches
solver-HQP-factory.hxx
Go to the documentation of this file.
1//
2// Copyright (c) 2017 CNRS
3//
4// This file is part of tsid
5// tsid is free software: you can redistribute it
6// and/or modify it under the terms of the GNU Lesser General Public
7// License as published by the Free Software Foundation, either version
8// 3 of the License, or (at your option) any later version.
9// tsid is distributed in the hope that it will be
10// useful, but WITHOUT ANY WARRANTY; without even the implied warranty
11// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12// General Lesser Public License for more details. You should have
13// received a copy of the GNU Lesser General Public License along with
14// tsid If not, see
15// <http://www.gnu.org/licenses/>.
16//
17
18#ifndef __invdyn_solvers_hqp_factory_hxx__
19#define __invdyn_solvers_hqp_factory_hxx__
20
23
24namespace tsid {
25namespace solvers {
26
27template <int nVars, int nEqCon, int nIneqCon>
29 const std::string& name) {
30 if (solverType == SOLVER_HQP_EIQUADPROG_RT)
32
33 PINOCCHIO_CHECK_INPUT_ARGUMENT(false, "Specified solver type not recognized");
34 return nullptr;
35}
36} // namespace solvers
37} // namespace tsid
38
39#endif // ifndef __invdyn_solvers_hqp_factory_hxx__
Abstract interface for a Quadratic Program (HQP) solver.
Definition solver-HQP-base.hpp:34
Definition fwd.hpp:31
class TSID_DLLAPI SolverHQuadProgRT
Definition fwd.hpp:75
Definition constraint-bound.hpp:25
static SolverHQPBase * createNewSolver(const SolverHQP solverType, const std::string &name)
Create a new HQP solver of the specified type.
Definition solver-HQP-factory.cpp:28