From a10e50f9ced371ed1d234e9638be6c605d294308 Mon Sep 17 00:00:00 2001 From: dmronga Date: Wed, 5 Jun 2024 15:56:45 +0200 Subject: [PATCH] Add install instructions for osqp --- scripts/full_install.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/scripts/full_install.sh b/scripts/full_install.sh index 98917026..24e3ea1a 100644 --- a/scripts/full_install.sh +++ b/scripts/full_install.sh @@ -89,9 +89,21 @@ mkdir build && cd build cmake .. -DBUILD_TESTING=OFF -DBUILD_PYTHON_INTERFACE=OFF -DBUILD_WITH_VECTORIZATION_SUPPORT=OFF make -j8 && sudo make install && cd ../.. +# OSQP +git clone https://github.com/osqp/osqp.git +cd osqp +mkdir build && cd build +cmake .. +make -j8 && sudo make install && cd ../.. +git clone https://github.com/robotology/osqp-eigen.git +cd osqp-eigen +mkdir build && cd build +cmake .. +make -j8 && sudo make install && cd ../.. + # WBC mkdir wbc/build && cd wbc/build -cmake .. -DROBOT_MODEL_RBDL=ON -DROBOT_MODEL_KDL=ON -DSOLVER_PROXQP=ON -DSOLVER_EIQUADPROG=ON -DSOLVER_QPSWIFT=ON -DCMAKE_BUILD_TYPE=RELEASE +cmake .. -DROBOT_MODEL_RBDL=ON -DROBOT_MODEL_KDL=ON -DSOLVER_PROXQP=ON -DSOLVER_EIQUADPROG=ON -DSOLVER_QPSWIFT=ON -DSOLVER_OSQP=ON -DCMAKE_BUILD_TYPE=RELEASE make -j8 && sudo make install && cd .. sudo ldconfig