Robotic Vagrant for YARP

Today the YARP Framework course is starting in our lab, thanks to Lorenzo Natale. I have taken the occasion to prepare the vagrant boostrap files for supporting YARP. Quite simple except some minor changes for supporting Ubuntu 12.04 due to cmake versions.

The github repo has been updated as well.

Update: it is worth adding a note about the use USB devices within vagrant boxes. When using the virtualbox provider just use "vboxmanage list usbhost" for identifying the device and then use the following script to add it to the configuration file:

VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  config.vm.box = "precise64"
  config.vm.box_url = "http://files.vagrantup.com/precise64.box"
  # Add usb filter to attach SmartCard reader
  config.vm.provider :virtualbox do |vb|
    vb.customize ['modifyvm', :id, '--usb', 'on']
    vb.customize ['usbfilter', 'add', '0', '--target', :id, '--name', 'SmartCard', '--vendorid', '0x08e6', '--productid', '0x3438']
  end
end

Taken from here.

Update: after this post YARP developers have prepared official vagrant scripts. You can grab them on the YARP repository.

Comments

Popular posts from this blog

Docker for our ROS robotic overlords

cmakego: Simpler access to external libraries in CMake

Algebrical Data Types in C++