# start in the workspace folder, i.e. the folder containing build and devel folders
cd /tmp
wget https://github.com/microsoft/onnxruntime/releases/download/v1.7.0/onnxruntime-linux-x64-1.7.0.tgz
tar xf onnxruntime-linux-x64-1.7.0.tgz
mkdir -p ~/.local/bin ~/.local/include/onnxruntime ~/.local/lib ~/.local/share/cmake/onnxruntime
rsync -a /tmp/onnxruntime-linux-x64-1.7.0/include/ ~/.local/include/onnxruntime
rsync -a /tmp/onnxruntime-linux-x64-1.7.0/lib/ ~/.local/lib
cd -
rsync -a src/tbai/dependencies/ocs2/ocs2_mpcnet/ocs2_mpcnet_core/misc/onnxruntime/cmake/ ~/.local/share/cmake/onnxruntime
I haven't managed to build ocs2_doc. Skip it with catkin config --skiplist ocs2_doc.
I added a simple installation guide. I am sure issues will occur with people not having a specific library installed, though I believe we can get to the "perfect" guide iteratively, over time.
Additional libraries I needed to install (except what is installed by
rosdep install --from-paths . --ignore-src -r
):This can be fixed by adding the following dependencies to package.xml of some packages:
Additionally, raisim needed to be installed:
Also, a raisim license will be needed to run it: https://raisim.com/sections/License.html .
Additionally, onnxruntime needed to be installed:
I haven't managed to build ocs2_doc. Skip it with
catkin config --skiplist ocs2_doc
.