Line |
Branch |
Exec |
Source |
1 |
|
|
// |
2 |
|
|
// Copyright (c) 2018 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 __tsid_python_expose_solvers_hpp__ |
19 |
|
|
#define __tsid_python_expose_solvers_hpp__ |
20 |
|
|
|
21 |
|
|
#include "tsid/bindings/python/solvers/solver-HQP-eiquadprog.hpp" |
22 |
|
|
#ifdef TSID_WITH_PROXSUITE |
23 |
|
|
#include "tsid/bindings/python/solvers/solver-proxqp.hpp" |
24 |
|
|
#endif |
25 |
|
|
#ifdef TSID_WITH_OSQP |
26 |
|
|
#include "tsid/bindings/python/solvers/solver-osqp.hpp" |
27 |
|
|
#endif |
28 |
|
|
#include "tsid/bindings/python/solvers/HQPData.hpp" |
29 |
|
|
#include "tsid/bindings/python/solvers/HQPOutput.hpp" |
30 |
|
|
namespace tsid { |
31 |
|
|
namespace python { |
32 |
|
|
void exposeSolverHQuadProg(); |
33 |
|
|
void exposeSolverProxQP(); |
34 |
|
|
void exposeSolverOSQP(); |
35 |
|
|
void exposeConstraintLevel(); |
36 |
|
|
void exposeHQPData(); |
37 |
|
|
void exposeHQPOutput(); |
38 |
|
7 |
inline void exposeSolvers() { |
39 |
|
7 |
exposeSolverHQuadProg(); |
40 |
|
7 |
exposeSolverProxQP(); |
41 |
|
7 |
exposeSolverOSQP(); |
42 |
|
7 |
exposeConstraintLevel(); |
43 |
|
7 |
exposeHQPData(); |
44 |
|
7 |
exposeHQPOutput(); |
45 |
|
7 |
} |
46 |
|
|
|
47 |
|
|
} // namespace python |
48 |
|
|
} // namespace tsid |
49 |
|
|
#endif // ifndef __tsid_python_expose_solvers_hpp__ |
50 |
|
|
|