Prerequisites
System
Packages
The following packages need to be installed (either from the corresponding website or via repository):
Quick Steps
Operating System
The following steps bootstrap the virtual machine.
$> git clone https://github.com/argos-research/operating-system.git
$> cd operating-system
$> vagrant up
With the following commands we will login to the virtual machine and start the build process for our default target (PandaBoard ES).
$> vagrant ssh
$> cd /vagrant
$> sudo make run
Operating System on local machine
$> git clone https://github.com/argos-research/operating-system.git
$> cd operating-system
$> ./setup.sh
QEMU/VDE
$> ./qemu.sh
Testbed
For more information see Simulatour Coupling section
# clone the testbed repository
git clone https://github.com/argos-research/testbed.git
# change directory to testbed
cd testbed
# checkout the simcoupler branch
git checkout simcoupler
# change directory to startup-scripts
cd startup-scripts
# run the shell script
./sim_env.sh
Troubleshoot
Vagrant memory error (if physical memory is less than 4096 MB)
This exception arises from the configuration of virtualbox. Change the following settings in Vagrantfile
to your needs.
config.vm.provider "virtualbox" do |vb|
# Display the VirtualBox GUI when booting the machine
vb.gui = false
# Customize the amount of memory on the VM:
vb.memory = 4096
vb.cpus = 2