Installing ROS2 Humble on two Virtualbox VMs

Introduction How do you get a ROS2 system up and running on a virtual machine, and participating on your local network as if it were a real pc?

01-Installation Notes

Introduction These notes are from memory, so they may be out of order.

Virtualbox Setup (optional)

Introduction This section discusses how to prepare a virtual machine for installing ROS.

Demonstrating Unicast in ROS2 on virtual machines over a local network using CycloneDDS

Switching from ROS2’s multicast default to unicast can be a bit tricky, especially if you’re testing.

Controlling Virtualbox from the Terminal

Starting/stopping/pausing a VM Now the fun begins. First, you must know the name of the VM you want to run.

Windows VirtualBox Install Process

Install Update Remove Unused Programs Turn off hibernation powercfg.exe -h off Turn off page file

Home Assistant Setup

Install Virtualbox sudo apt install -y virtualbox virtualbox-ext-pack sudo usermod -a -G vboxusers $USER Download Home Assistant cd Downloads wget https://github.

Intricacies of working with two virtual machine clones

Even if you have two vm clones with different mac addresses, you need to tell ubuntu how exactly the machine identifies itself on the network for the two clones to get separate ip addresses.