Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from arocchi/add_free_solvers_upstream
Adds osqp and qpOASES solver interfaces
- Loading branch information
Showing
28 changed files
with
1,684 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
#.rst: | ||
# FindqpOASES | ||
# ----------- | ||
# | ||
# Try to find the qpOASES library. | ||
# Once done this will define the following variables:: | ||
# | ||
# qpOASES_FOUND - System has qpOASES | ||
# qpOASES_INCLUDE_DIRS - qpOASES include directory | ||
# qpOASES_LIBRARIES - qpOASES libraries | ||
# | ||
# qpOASES does not have an "install" step, and the includes are in the source | ||
# tree, while the libraries are in the build tree. | ||
# Therefore the environment and cmake variables `qpOASES_SOURCE_DIR` and | ||
# `qpOASES_BINARY_DIR` will be used to locate the includes and libraries. | ||
|
||
#============================================================================= | ||
# Copyright 2014 iCub Facility, Istituto Italiano di Tecnologia | ||
# Authors: Daniele E. Domenichelli <daniele.domenichelli@iit.it> | ||
# | ||
# Distributed under the OSI-approved BSD License (the "License"); | ||
# see accompanying file Copyright.txt for details. | ||
# | ||
# This software is distributed WITHOUT ANY WARRANTY; without even the | ||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
# See the License for more information. | ||
#============================================================================= | ||
# (To distribute this file outside of YCM, substitute the full | ||
# License text for the above reference.) | ||
|
||
|
||
include(FindPackageHandleStandardArgs) | ||
|
||
find_path(qpOASES_INCLUDEDIR | ||
NAMES qpOASES.hpp | ||
HINTS "${qpOASES_SOURCE_DIR}" | ||
ENV qpOASES_SOURCE_DIR | ||
PATH_SUFFIXES include) | ||
find_library(qpOASES_LIB | ||
NAMES qpOASES | ||
HINTS "${qpOASES_BINARY_DIR}" | ||
ENV qpOASES_BINARY_DIR | ||
PATH_SUFFIXES lib | ||
libs) | ||
|
||
set(qpOASES_INCLUDE_DIRS ${qpOASES_INCLUDEDIR}) | ||
set(qpOASES_LIBRARIES ${qpOASES_LIB}) | ||
|
||
find_package_handle_standard_args(qpOASES DEFAULT_MSG qpOASES_LIBRARIES | ||
qpOASES_INCLUDE_DIRS) | ||
set(qpOASES_FOUND ${QPOASES_FOUND}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#pragma once | ||
#include <string> | ||
#include <vector> | ||
#include <assert.h> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#pragma once | ||
#include <Eigen/Core> | ||
#include <trajopt_sco/solver_interface.hpp> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.