๐Ÿš€ Environment Setup Guide

This guide will walk you through setting up a complete ROS2 development environment on Ubuntu 22.04.

Table of Contents


๐Ÿ‘€ย Dependencies Setup Guide for Ubuntu 22.04

  1. Update package information database.
sudo apt-get update
  1. Install curl
sudo apt install curl -y
  1. Increase swap size by running the following script.
bash <(curl -s <https://raw.githubusercontent.com/StanfordASL/asl-tb3-utils/main/scripts/increaseswap.bash>)
  1. Install ROS and simulation environment.
bash <(curl -s <https://raw.githubusercontent.com/StanfordASL/asl-tb3-aiet/refs/heads/main/setup/install.bash>)

Important! โ€” Run this command for all machines, in parallel. Will take more than 30 minutes. Grab a โ˜• while you wait. ๐Ÿ’ช

  1. Add the following environmental variables in ~/.bashrc
export ROS_DOMAIN_ID=<see inventory for robot pairing>
export LAPTOP_ID=<see inventory for name>