Simple C++ wrapper for [osqp](http://osqp.readthedocs.io/en/latest/index.html) library.
## Documentation
## 📚 Documentation
The documentation is available online at the accompanying [website](https://robotology.github.io/osqp-eigen).
## Dependeces
## 📄 Dependences
The project depends only on [`osqp`](http://osqp.readthedocs.io/en/latest/index.html) and [Eigen3](http://eigen.tuxfamily.org/index.php?title=Main_Page). Please install [Catch2](https://github.com/catchorg/Catch2) if you want to run the tests only for testing.
## Usage
1. Clone the repository
## 🛠️ Usage
### 📦 Install with conda (recommended)
You can easily the library with [`conda`](https://github.com/conda-forge/osqp-eigen-feedstock) using the following command
```
conda install -c conda-forge osqp-eigen
```
`conda` will automatically install [`osqp`](http://osqp.readthedocs.io/en/latest/index.html) and [Eigen3](http://eigen.tuxfamily.org/index.php?title=Main_Page).
@@ -34,7 +45,7 @@ The project depends only on [`osqp`](http://osqp.readthedocs.io/en/latest/index.
OsqpEigen_DIR=/path/where/you/installed/
```
## How to use the library
## 🖥️ How to use the library
**osqp-eigen** provides native `CMake` support which allows the library to be easily used in `CMake` projects.
**osqp-eigen** exports a CMake target called `OsqpEigen::OsqpEigen` which can be imported using the `find_package` CMake command and used by calling `target_link_libraries` as in the following example: