Vagrant Virtual Machines for multiple versions (and combinations of versions) of ROS and Ubuntu:
- Provision Ubuntu virtual machines with GUI (to run Gazebo and other visualization tools)
- Loads a synced folder to share code from host machine to guest virtual machine. The synced folder in host is inside
the relevant version folder and in the guest machine, you can find the folder at the path
/home/ros_ws
- Get on the folder with versions you want to run e.g.
cd melodic-bionic
- Provision the virtual machine by running
vagrant up
- You can then start the graphical environment by starting the machine from the VirtualBox program or
start a non-gui session by running the command
vagrant ssh
. If you sign in from the GUI then use the following default vagrant credentials: username: vagrant and password vagrant - To delete a machine completely, go to the VirtualBox program, find the VM and click on delete all files and then on
this folder delete the
.vagrant
folder.
Focal (20.04 LTS) |
Bionic (18.04 LTS) |
Zesty (17.04) |
Xenial (16.04 LTS) |
Trusty (14.04 LTS) |
Precise (12.04 LTS) |
|
---|---|---|---|---|---|---|
Melodic | Supported | Supported | ||||
Lunar | Supported | |||||
Kinetic | Supported | |||||
Jade | EOL | EOL | EOL | EOL | EOL | EOL |
Indigo | EOL | |||||
Hydro | EOL | EOL | EOL | EOL | EOL | EOL |
Groovy | EOL | EOL | EOL | EOL | EOL | EOL |
Focal (20.04 LTS) |
Bionic (18.04 LTS) |
Zesty (17.04) |
Xenial (16.04 LTS) |
Trusty (14.04 LTS) |
Precise (12.04 LTS) |
|
---|---|---|---|---|---|---|
Foxy | Supported | |||||
Crystal | Supported | Supported | ||||
Bouncy | Supported | Supported |
In the Vagrant boxes of this repository the Recommended versions for Gazebo are installed (TODO)
Gazebo 9 | Gazebo 8 | Gazebo 7 | Gazebo 2 | |
---|---|---|---|---|
Melodic | Recommended | |||
Lunar | Supported | Supported | Recommended | |
Kinetic | Supported | Supported | Recommended | |
Indigo | Supported | Recommended |
- Make sure this repository is cloned in a directory where vagrant has enough permissions to run and provision virtual machines.
-
The VirtualBox VM was created with a user that doesn't match the current user running Vagrant. VirtualBox requires that the same user be used to manage the VM that was created. Please re-run Vagrant with that user. This is not a Vagrant issue.
The UID used to create the VM was: 1000 Your UID is: 0
Make sure you run vagrant with the same user, the above error may occur when running at first the box with simple user and then with root (sudo)