GithubHelp home page GithubHelp logo

cs422_docker's Introduction

CS422 Docker Container

Docker container for cs422 Introduction to Robotics

This repo contains an experimental docker container setup for use in cs422 Introduction to Robotics module. The repo is being made available as a convenience for students that have a familiarity with docker and who would rather use docker than the virtualbox image.

Requirements and Setup

To install and run the container you will need to be running Linux and will first need to install docker communinty edition. This will vary based on your particular operating system so you will need to find a suitable walk-through.

Here are a few for more common variants of Ubuntu:

Building the container

To build the container use the build script from the cs422_docker folder: john@laptop:~/cs422_docker$ ./build

Running the container

When executed, the container will result in a bash shell running inside the container inside a terminator window. Exiting the terminator window will terminated the container.

Bash Shell from the container in a terminator window

In order to support a persistent file storage (i.e. to store your ROS workspace files) the run script expects a cs422_ws folder in your home folder. When run, this folder is mounted in your home folder within the container (i.e. /home/<username>/cs422_ws). This folder will be created automatically if it does not exist on the first run.

To run the container use the run script john@laptop:~/cs422_docker$ ./run

Development workflow

All ROS related commands, such as catkin_make,rosrun ..., roslaunch ..., etc. should be run inside the container (i.e. in the terminator window), whereas you should develop your code (i.e. run your IDE or text-editor) on your host machine.

The typical workflow is:

  1. Edit your code on your host machine using your favourite text editor or IDE
  2. Spin up the container
    • cd ~/cs422_docker
    • ./run
  3. In the container window run whichever ROS commands you wish
  4. Iterate steps 1. & 3.

cs422_docker's People

Contributors

johnbmcd avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

ektich

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.