Skip to content

Commit

Permalink
Added qpOASES v3.1 and ROS build and install rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
airballking committed Jul 2, 2015
1 parent b2979a7 commit f8b09be
Show file tree
Hide file tree
Showing 214 changed files with 58,015 additions and 0 deletions.
74 changes: 74 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
##
## This file is part of qpOASES.
##
## qpOASES -- An Implementation of the Online Active Set Strategy.
## Copyright (C) 2007-2015 by Hans Joachim Ferreau, Andreas Potschka,
## Christian Kirches et al. All rights reserved.
##
## qpOASES is free software; you can redistribute it and/or
## modify it under the terms of the GNU Lesser General Public
## License as published by the Free Software Foundation; either
## version 2.1 of the License, or (at your option) any later version.
##
## qpOASES is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
## See the GNU Lesser General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public
## License along with qpOASES; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
##



MAIN AUTHORS
============

qpOASES's core functionality and software design have been developed by the
following main developers (in alphabetical order):

Hans Joachim Ferreau
Christian Kirches
Andreas Potschka



FURTHER AUTHORS
===============

Moreover, the following developers have contributed code to qpOASES's
third-party interfaces (in alphabetical order):

Alexander Buchner
Holger Diedam
Manuel Kudruss
Sebastian F. Walter



CONTRIBUTORS
============

Finally, the following people have not contributed to the source code,
but have helped making qpOASES even more useful by testing, reporting
bugs or proposing algorithmic improvements (in alphabetical order):

Eckhard Arnold
Boris Houska
Aude Perrin
Milan Vukov
Thomas Wiese
Leonard Wirsching



All users are invited to further improve qpOASES by providing comments,
code enhancements, bug reports, additional documentation or whatever you
feel is missing.



##
## end of file
##
74 changes: 74 additions & 0 deletions AUTHORS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
##
## This file is part of qpOASES.
##
## qpOASES -- An Implementation of the Online Active Set Strategy.
## Copyright (C) 2007-2015 by Hans Joachim Ferreau, Andreas Potschka,
## Christian Kirches et al. All rights reserved.
##
## qpOASES is free software; you can redistribute it and/or
## modify it under the terms of the GNU Lesser General Public
## License as published by the Free Software Foundation; either
## version 2.1 of the License, or (at your option) any later version.
##
## qpOASES is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
## See the GNU Lesser General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public
## License along with qpOASES; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
##



MAIN AUTHORS
============

qpOASES's core functionality and software design have been developed by the
following main developers (in alphabetical order):

Hans Joachim Ferreau
Christian Kirches
Andreas Potschka



FURTHER AUTHORS
===============

Moreover, the following developers have contributed code to qpOASES's
third-party interfaces (in alphabetical order):

Alexander Buchner
Holger Diedam
Manuel Kudruss
Sebastian F. Walter



CONTRIBUTORS
============

Finally, the following people have not contributed to the source code,
but have helped making qpOASES even more useful by testing, reporting
bugs or proposing algorithmic improvements (in alphabetical order):

Eckhard Arnold
Boris Houska
Aude Perrin
Milan Vukov
Thomas Wiese
Leonard Wirsching



All users are invited to further improve qpOASES by providing comments,
code enhancements, bug reports, additional documentation or whatever you
feel is missing.



##
## end of file
##
70 changes: 70 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
cmake_minimum_required(VERSION 2.8.3)
project(qpoases)

find_package(catkin REQUIRED)

catkin_package(
INCLUDE_DIRS include
LIBRARIES ${PROJECT_NAME})

##############
## Building ##
##############

include_directories(include)

#
# building qpOASES LIBRARY
#
set(SRCS
src/BLASReplacement.cpp
src/Constraints.cpp
src/Indexlist.cpp
src/Matrices.cpp
src/Options.cpp
src/QProblemB.cpp
src/SolutionAnalysis.cpp
src/SubjectTo.cpp
src/Bounds.cpp
src/Flipper.cpp
src/LAPACKReplacement.cpp
src/MessageHandling.cpp
src/OQPinterface.cpp
src/QProblem.cpp
src/SQProblem.cpp
src/Utils.cpp)
add_library(${PROJECT_NAME} ${SRCS})

#
# building example applications
#
set(EXAMPLES
example1
example1a
example1b
example2
example3
example3b
example4
example5
exampleLP
qrecipe)

foreach(EXAMPLE ${EXAMPLES})
add_executable(${EXAMPLE} examples/${EXAMPLE}.cpp)
target_link_libraries(${EXAMPLE} ${PROJECT_NAME})
endforeach(EXAMPLE)

################
## Installing ##
################

install(TARGETS ${PROJECT_NAME} ${EXAMPLES}
ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})

install(DIRECTORY include/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
FILES_MATCHING PATTERN "*.hpp"
PATTERN ".svn" EXCLUDE)
79 changes: 79 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
##
## This file is part of qpOASES.
##
## qpOASES -- An Implementation of the Online Active Set Strategy.
## Copyright (C) 2007-2015 by Hans Joachim Ferreau, Andreas Potschka,
## Christian Kirches et al. All rights reserved.
##
## qpOASES is free software; you can redistribute it and/or
## modify it under the terms of the GNU Lesser General Public
## License as published by the Free Software Foundation; either
## version 2.1 of the License, or (at your option) any later version.
##
## qpOASES is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
## See the GNU Lesser General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public
## License along with qpOASES; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
##



INSTALLATION UNDER LINUX
========================

0. Obtain qpOASES from COIN-OR:

Download a zipped archive containg the latest stable release and unpack it
into <install-dir>. Alternatively, you check out the latest stable branch,
e.g. by running

svn co https://projects.coin-or.org/svn/qpOASES/stable/3.1 <install-dir>

from your shell.


1. Compilation of the qpOASES library libqpOASES.a and test examples:

cd <install-dir>
make

The library libqpOASES.a provides the complete functionality of the qpOASES
software package. It can be used by, e.g., linking it against a main function
from the examples folder. The make also compiles a couple of test examples;
executables are stored within the directory <install-dir>/bin.


2. Running a simple test example:

Among others, an executable called example1 should have been created; run
it in order to test your installation:

cd <install-dir>/bin
./example1

If it terminates after successfully solving two QP problems, qpOASES has been
successfully installed!


3. Optional, create source code documentation (using doxygen):

cd <install-dir>/doc
doxygen doxygen.config

Afterwards, you can open the file <install-dir>/doc/html/index.html with
your favorite browser in order to view qpOASES's source code documentation.


NOTE: More detailed installation instructions, including information on how
to run unit tests can be found in the qpOASES User's Manual located
at <install-dir>/doc/manual.pdf!



##
## end of file
##
79 changes: 79 additions & 0 deletions INSTALL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
##
## This file is part of qpOASES.
##
## qpOASES -- An Implementation of the Online Active Set Strategy.
## Copyright (C) 2007-2015 by Hans Joachim Ferreau, Andreas Potschka,
## Christian Kirches et al. All rights reserved.
##
## qpOASES is free software; you can redistribute it and/or
## modify it under the terms of the GNU Lesser General Public
## License as published by the Free Software Foundation; either
## version 2.1 of the License, or (at your option) any later version.
##
## qpOASES is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
## See the GNU Lesser General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public
## License along with qpOASES; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
##



INSTALLATION UNDER LINUX
========================

0. Obtain qpOASES from COIN-OR:

Download a zipped archive containg the latest stable release and unpack it
into <install-dir>. Alternatively, you check out the latest stable branch,
e.g. by running

svn co https://projects.coin-or.org/svn/qpOASES/stable/3.1 <install-dir>

from your shell.


1. Compilation of the qpOASES library libqpOASES.a and test examples:

cd <install-dir>
make

The library libqpOASES.a provides the complete functionality of the qpOASES
software package. It can be used by, e.g., linking it against a main function
from the examples folder. The make also compiles a couple of test examples;
executables are stored within the directory <install-dir>/bin.


2. Running a simple test example:

Among others, an executable called example1 should have been created; run
it in order to test your installation:

cd <install-dir>/bin
./example1

If it terminates after successfully solving two QP problems, qpOASES has been
successfully installed!


3. Optional, create source code documentation (using doxygen):

cd <install-dir>/doc
doxygen doxygen.config

Afterwards, you can open the file <install-dir>/doc/html/index.html with
your favorite browser in order to view qpOASES's source code documentation.


NOTE: More detailed installation instructions, including information on how
to run unit tests can be found in the qpOASES User's Manual located
at <install-dir>/doc/manual.pdf!



##
## end of file
##
Loading

0 comments on commit f8b09be

Please sign in to comment.