diff --git a/README.md b/README.md index 65fadafbf5c7a5b53af77b9132e161e4aa3de9d1..9251733d25d336770341dbbf9a6e499c67a9ae24 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