This repository contains the projects I realized following some of the ROS courses offered by The Construct.
I have divided each course in "units", which are different from the units/chapters the course is formally divided. Each unit correspond to a jupiter page displayed in the course.
The file structure of the repository is of the form course/unit/src/ros_package
.
For each unit it corresponds a catkin directory.
I have created a docker file aimed to create an image with most of the required ROS packages.
It uses nvidia-docker
.
To create the image run docker/build_image.sh
.
The script docker/container-start.bash
starts an interactive bash in the container with the root user.
This script mounts a volume with this repository at /catkinws
.
To launch a launch-file you need follow these steps
-
Build the docker image
cd docker && bash build_image.sh
-
Run the docker container
cd docker && bash container-start.bash
-
Go to the desired unit catkin workspace
cd course/unit
-
Run
catkin_make
andsource devel/setup.bash
-
Launch the desired launch-file
roslaunch rospackage launchfile.launch