Skip to content

BryanMqz/ros-workshop-2022

 
 

Repository files navigation

Ros Workshop 2022

Instructor & Contact Info

Nombre Correo Github
José Cisneros joseacisnerosm@gmail.com @Josecisneros001

Requirements

  • Ubuntu System (any Distro)

  • Docker

  • Nvidia Support Installation (Optional, Rviz & Gazebo could also run with Intel Integrated Graphics Card):

    distribution=$(. /etc/os-release;echo $ID$VERSION_ID) && curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - && curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list
    
    sudo apt-get update
    
    sudo apt-get install -y nvidia-docker2
    
    sudo systemctl restart docker

    Reference

  • Github Repository

    # Cloning with HTTP
    git clone --recurse-submodules https://github.com/RoBorregos/ros-workshop-2022.git
    
    # Cloning with SSH
    git clone --recurse-submodules git@github.com:RoBorregos/ros-workshop-2022.git
    
    # Moving into the repo
    cd ros-workshop-2022

Setup

Build Docker Image and create Docker Container every time there is a change to the Dockerfile.

1-.

    sudo make ros.build

2-. Give Executable Permissions if necessary

chmod +x ./run_scripts/*

3-.

  • Create with Nvidia Support
    sudo make ros.nvidia.create
  • Create with Intel Support
    sudo make ros.intel.create
  • Create without gpu (Rviz & Gazebo will not work)
    sudo make ros.create

Run

1-.

  • Run container and fire up a shell
    sudo make ros.up
    sudo make ros.shell

Stop

  • Stop container
    sudo make ros.down

Helpful Commands

  • Insided the container:

    • Use several terminals with terminator
          terminator -u
  • Outside the container:

    • Show a list of all existing containers.
        sudo make list
    • Show a list of all running containers.
        sudo make listUp

See Makefile to discover other useful commands to manipulate Docker Containers.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CMake 38.0%
  • C++ 26.2%
  • Python 18.8%
  • Shell 9.5%
  • Dockerfile 4.4%
  • Makefile 3.1%