diff --git a/doc/local_ros_installation.md b/doc/local_ros_installation.md index ba4dc65001a6819a920e31c2750329c462235684..c5a6178f3ca426857e51cf17b5492ffc8c68d43e 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 +```