GithubHelp home page GithubHelp logo

pc6-sv / keith_ugv_workspace Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 126.51 MB

Dockerfile 0.02% Shell 0.04% CMake 1.03% Python 6.72% C++ 89.57% C 0.85% MATLAB 0.03% Makefile 0.15% Starlark 0.87% NASL 0.71% Pawn 0.02%

keith_ugv_workspace's Introduction

ugv_workspace

See individual submodule wikis on main branch for more information.

Pre-Requisites

Linux:

  • Install nvidia-container-toolkit link
  • Install proprietary Nvidia drivers (Check Additional Drivers app)

Windows (NOT TESTED):

  • Install VcXsrv Windows X Server from this link

    Required for Graphic Applications to run on Windows (e.g. Gazebo)

  • Set up Docker with GPU link

Getting Started

  1. Download the Docker folder and build the Docker Image using
docker build -t ugv_base .
  1. Create the Docker network if not already done.
docker network create netty
  1. Run the docker image

For Linux Run the docker image using the bash file

./create_container.bash ugv1
  • Note : make the bash files executable first
    chmod +x create_container.bash
    
  • Remember to open xhost if not using bash file
    xhost local:root
    

For Windows Run the docker image using the command (Change DISPLAY var as needed) (not tested)

docker run -it --name ugv1 -e DISPLAY=host.docker.internal:0.0 -e LIBGL_ALWAYS_INDIRECT=0 --runtime=nvidia --gpus all --network netty ugv_base bash
  1. Start mosquitto broker on ugv1
service mosquitto start
mosquitto -v
  1. Open a new terminal and enter container with
docker exec -it ugv1 bash
  1. Execute AEDE launch file
source keith_ugv_workspace/aede/devel/setup.sh
roslaunch vehicle_simulator indoor.launch
  1. Open another terminal and change the vehicle number in mqtt_bridge/config/la_params.yaml
nano keith_ugv_workspace/tare_planner/src/mqtt_bridge/config/la_params.yaml
nano keith_ugv_workspace/far_planner/src/mqtt_bridge/config/la_params.yaml
  1. Update poi_type in navi.py if necessary.
nano keith_ugv_workspace/far_planner/src/multi_ugv_behaviours/navi.py
  1. Execute TARE/FAR Planner launch file
source keith_ugv_workspace/tare_planner/devel/setup.sh
roslaunch tare_planner explore_indoor.launch 2> >(grep -v TF_REPEATED_DATA buffer_core)
source keith_ugv_workspace/far_planner/devel/setup.sh
roslaunch far_planner far+killer.launch 2> >(grep -v TF_REPEATED_DATA buffer_core)

keith_ugv_workspace's People

Contributors

keithtjj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.