From e6f1b77d5e86cf3fb78ffe4bf35a543964563db8 Mon Sep 17 00:00:00 2001 From: Tommy Persson <tommmy.persson@liu.se> Date: Wed, 23 Sep 2020 11:15:07 +0200 Subject: [PATCH] Instructions for compiling simulator added- --- doc/local_ros_installation.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/doc/local_ros_installation.md b/doc/local_ros_installation.md index ba4dc65..c5a6178 100644 --- a/doc/local_ros_installation.md +++ b/doc/local_ros_installation.md @@ -200,3 +200,29 @@ and the control mode must be: +## Compiling Simulator + +If you have access ti the simulator repos you can compile it locally. + +Needed extra packages: +```bash +git clone git@gitlab.liu.se:lrs/lrs_basic.git +git clone git@gitlab.liu.se:lrs/motion_models.git +git clone git@gitlab.liu.se:lrs/nonlinearmpc.git +git clone https://github.com/dji-sdk/Onboard-SDK-ROS.git +cd Onboard-SDK-ROS +git checkout 3.8 +``` + +Install the DJI SDK: +```bash +git clone https://github.com/dji-sdk/Onboard-SDK.git +cd Onboard-SDK +git checkout 3.8 +cd osd-core +mkdir build +cd build +cmake ../ +make -j 4 djiosdk-core +sudo make install djiosdk-core +``` -- GitLab