Ubuntu

Highlighted

Posts

Virtualbox Setup (optional)

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

Installing ROS2 on a Raspberry Pi

Flashing Make sure you add your ssh key during flashing setup wifi define a hostname Tailscale turn on magicdns sudo tailscale set –operator=$USER -accept-dns=true –accept-routes=true Installing It’s important to disable automatic updates as you should initiate it according to your own availability.

Preparation

Things you will need ssh public key configuration backup file gpg key First, update apt sudo apt update #save this for the end # sudo apt upgrade -y If a Virtual machine make sure you are a member of the vboxusers and vboxsf groups ^[https://www.

Setting up Git

git config –global user.email "danaukes@gmail.com" git config –global user.name "Dan Aukes" Update git roscd thorlabs_linear_actuator/ git status git add -A git commit -m="<INSERT YOUR MESSAGE HERE>" git push # supply username and pw

IDEAlab ROS prerequisites

#update repository sudo apt update #visual package manager sudo apt install -y synaptic #ssh access sudo apt install -y openssh-server #python editor sudo apt install -y spyder3 #ifconfig command and other networking tools sudo apt install net-tools #misc sudo apt install -y curl #python packages sudo apt install -y python3-serial python3-pip

Install Tailscale

for raspberry pi sudo apt install curl -y general installation https://pkgs.

02-Import Keys

Install and Setup Install gnupg, nautilus integration (seahorse), and restart nautilus

Common Docker Commands

General Commands docker images docker pull docker create docker ps docker attach 3378689f2069 Deleting, cleanup docker run —rm image_name docker system prune docker container prune docker network prune docker image prune Ubuntu Image docker pull ubuntu docker run -d -t ubuntu # run detached docker run -it ubuntu /bin/bash docker exec -it <containername> /bin/bash apt-get update docker compose run -it web /bin/bash Anaconda Image docker pull continuumio/anaconda3 docker run -it continuumio/anaconda3 /bin/bash Set up gui: https://dev.

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.

ROS Installation Summary

This is derived from the official tutorial Run this code: