From 53698b14b3ab21aabad6b97984139b65da1e8d1e Mon Sep 17 00:00:00 2001
From: Tommy Persson <tommmy.persson@liu.se>
Date: Sun, 21 Jun 2020 13:53:16 +0200
Subject: [PATCH] Install fixes.

---
 README.md                  | 41 ++++++++++++++++++++++++++++++++------
 script/{dji => dji_system} |  0
 2 files changed, 35 insertions(+), 6 deletions(-)
 rename script/{dji => dji_system} (100%)

diff --git a/README.md b/README.md
index 65fadaf..9251733 100644
--- a/README.md
+++ b/README.md
@@ -8,6 +8,41 @@ have used.
 
 Will be used for more things in the future.
 
+## Setup
+
+Put the script dir in your PATH plus add somce variables that are needed. For example in .bashrc:
+```bash
+export PATH="/home/tompe/docker/waraps/script:$PATH"
+
+export WORLD_ORIGIN_LAT=57.7605573519 
+export WORLD_ORIGIN_LON=16.6827607783
+export WORLD_ORIGIN_ELEVATION=29.8
+```
+
+## Linux host machine with ROS insalled on host machine.
+
+Using docker for gazebo and lrs stuff.
+
+### Start a ros core:
+```bash
+roscore
+```
+```bash
+basedji roslaunch lrs_launch location_granso.launch ns:=/dji0
+```
+
+### Start gazebo:
+```bash
+gazebo roslaunch lrs_wara_gazebo gazebo.launch
+```
+
+### Load dji model:
+```bash
+gazebo roslaunch lrs_wara_gazebo dji_to_gazebo.launch name:=dji0 with_laser:=true x:=0
+```
+
+
+
 ## Virtual Machine Ubuntu 18.04
 
 ```bash
@@ -16,12 +51,6 @@ sudo apt install net-tools
 sudo apt install openssh-server
 ```
 
-## Setup
-
-Put the script dir in your PATH. For example in .bashrc:
-```bash
-export PATH="/home/tompe/docker/waraps/script:$PATH"
-```
 
 ## Installing Required Software on a Virtual Machine or an Ordinary Computer
 
diff --git a/script/dji b/script/dji_system
similarity index 100%
rename from script/dji
rename to script/dji_system
-- 
GitLab