- Notifications
You must be signed in to change notification settings - Fork127
Simple Eigen-C++ wrapper for OSQP library
License
robotology/osqp-eigen
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
General | |
---|---|
CI/CD | |
conda |
Simple C++ wrapper forosqp library.
The documentation is available online at the accompanyingwebsite.
The project depends only onosqp
andEigen3. Please installCatch2 if you want to run the tests only for testing.
You can easily the library withconda
using the following command
conda install -c conda-forge osqp-eigen
conda
will automatically installosqp
andEigen3.
- Clone the repository
git clone https://github.com/robotology/osqp-eigen.git
- Build it
cd osqp-eigenmkdir buildcd buildcmake -DCMAKE_INSTALL_PREFIX:PATH=<custom-folder> ../makemake install
- Add the following environmental variable
OsqpEigen_DIR=/path/where/you/installed/
osqp-eigen provides nativeCMake
support which allows the library to be easily used inCMake
projects.osqp-eigen exports a CMake target calledOsqpEigen::OsqpEigen
which can be imported using thefind_package
CMake command and used by callingtarget_link_libraries
as in the following example:
cmake_minimum_required(VERSION3.0)project(myproject)find_package(OsqpEigenREQUIRED)add_executable(exampleexample.cpp)target_link_libraries(exampleOsqpEigen::OsqpEigen)
If you prefer to use thebazel
build system,osqp-eigen is available in the Bazel Central Registry, so you can use it following the docs available athttps://registry.bazel.build/modules/osqp-eigen
.
All types ofissues are welcome.
Materials in this repository are distributed under the following license:
All software is licensed under the BSD 3-Clause License. SeeLICENSE file for details.
About
Simple Eigen-C++ wrapper for OSQP library
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.