diff options
author | Andreas Antener <antener_a@gmx.ch> | 2015-02-19 22:01:19 +0100 |
---|---|---|
committer | Andreas Antener <antener_a@gmx.ch> | 2015-02-19 22:12:28 +0100 |
commit | 172179ee2ef3bb680ed58b5e7267e0732266e8c4 (patch) | |
tree | 909131ad7ee1067c5cf76e1952342d6ba749e346 /Tools/ros/vagrant/px4-ros/Vagrantfile | |
parent | 80d14e80bb2c3b0930c920a45480958f993c8733 (diff) | |
download | px4-firmware-172179ee2ef3bb680ed58b5e7267e0732266e8c4.tar.gz px4-firmware-172179ee2ef3bb680ed58b5e7267e0732266e8c4.tar.bz2 px4-firmware-172179ee2ef3bb680ed58b5e7267e0732266e8c4.zip |
removed docker/vagrant stuff, is now in a separate repository
Diffstat (limited to 'Tools/ros/vagrant/px4-ros/Vagrantfile')
-rw-r--r-- | Tools/ros/vagrant/px4-ros/Vagrantfile | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/Tools/ros/vagrant/px4-ros/Vagrantfile b/Tools/ros/vagrant/px4-ros/Vagrantfile deleted file mode 100644 index 5b372a94d..000000000 --- a/Tools/ros/vagrant/px4-ros/Vagrantfile +++ /dev/null @@ -1,61 +0,0 @@ -# -*- mode: ruby -*- -# vi: set ft=ruby : - -# -# Boot docker SITL environment -# -# Maintainer: Andreas Antener <andreas@uaventure.com> -# -# "vagrant up" will build the images. Should eventually start "xterm" from within the docker container. -# -# Notes: -# (will change, need proper docs) -# -# Build with multiple dependent docker containers: -# Use the "--no-parallel" option so the containers will be built/started in order. -# e.g.: "vagrant up --no-parallel" -# -# Running apps directly: -# "vagrant docker-run ros -- <cmd>" -# Attention: will loose all data when stopped, vagrant runs docker always with "--rm" -# -# TODO -# - do not run the docker container with "--rm" (vagrant default). is that even possible? -# - maybe map a local working directory to compile stuff without loosing it in side the docker container -# -# License: according to LICENSE.md in the root directory of the PX4 Firmware repository - -Vagrant.configure(2) do |config| - # Configure docker host - config.vm.provider "docker" do |d| - d.vagrant_machine = "docker-host" - d.vagrant_vagrantfile = "../docker-host/Vagrantfile" - end - - # Configure docker apps to run - config.vm.define "ros" do |app| - app.vm.provider "docker" do |d| - d.name = "ros" - d.image = "uaventure/px4-ros-full" - #d.build_dir = "../../docker/px4-ros-full" - #d.build_args = ["-t=uaventure/px4-ros-full"] - - # Share docker host x11 socket - # Run privileged to support 3d acceleration - d.volumes = [ - "/tmp/.X11-unix:/tmp/.X11-unix:ro" - ] - d.create_args = ["--privileged"] - - # TODO: get display number from host system - d.env = { - "DISPLAY" => ":0" - } - - d.remains_running = true - d.cmd = ["xterm"] - #d.has_ssh = true - end - end - -end |