This repo contains the necessary Dockerfile and execution scripts to compile and run a Docker container for a full Ubuntu 14.04, ROS Indigo, Gazebo 7 and dependencies to simulate Erle Robotics' Erle-Copter.
The compiled Docker image can be found here. I recommend simply using this image instead of compiling from scratch. Remember to docker commit
after a session, else no changes will be saved.
Username: indigo Password: password
Note: this has only been tested under Ubuntu 16.04. Your mileage may vary.
- Install Docker and follow the post-installation steps
- Pull the image from the hub using:
docker pull docker pull helmifraser/indigo-trusty-erle
- Run the container:
./run.sh helmifraser/indigo-trusty-erle
You should now be in the home directory. Check if everything's running by launching the simulation. You can use tmux
with my configurations to make life a little easier, see the shortcuts in ~/.tmux.conf
.
If for some reason you want to compile the image from scratch, use the helper scripts.
- Execute the build script, where IMAGE_NAME is the intended name of the image. Optionally, you can specify a USERNAME, which will be the username within the container.
./build.sh IMAGE_NAME USERNAME
- Once it's complete, execute the run script:
./run.sh IMAGE_NAME
- Inside the container, execute
final_step.sh
, which will pull the necessary Git repos and compile them all. This only needs to be done once. - Check if everything's running by launching the simulation.