Lab 0: Preparation

General Information

Here are some general ideas that can help you get prepared for this lab section.

When working with robots, we need skills in Linux, ROS, Python, Git/GitHub, and Virtual Machine (VM).

Please familiarize yourself with the above concepts/tools, if they are new to you.

In the following, we will go through some basic steps to get our development environment ready.

Virtual Machine

Install Linux

Once you have your VMware installed, let’s create a new VM and install Ubuntu 20.04.

Note that the disk size 30GB/50GB will not be allocated instantly, but will grow gradually as you add more stuff. 

Note for mac users: After the installation, if the ubuntu has a terminal interface, run the command below to have the ubuntu desktop image.

Install ROS Noetic

Once you are familiar with Linux, you can start installing ROS. 

sudo apt install curl # if you haven't already installed curl

curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -

echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc

source ~/.bashrc

sudo apt install python3-rosdep # if you haven't already installed rosdep

sudo rosdep init

rosdep update


Learn from ROS Tutorials

Once you have ROS Noetic installed, we provide the tutorial for ROS. You can also follow the tutorials on ROS wiki and rospy documentation.

Have fun!

Fixes to some common errors