Recap of Tutorial 1

Before continuing, make sure to complete the setup steps from Tutorial 1.

Note: Most ROS nodes must run in separate terminal windows. Avoid closing any terminal running essential nodes like roscore, which is required for any ROS code to function.

Setup Steps

  1. Turn on the robot.
  2. Open a new Terminal and run roscore.
roscore
  1. Open another terminal and SSH into your robot:

    ROBOT IPs here:

    Robot and Laptop IPs

ssh ubuntu@your_robot_ip
  1. In the SSH session, launch the robot bringup file:
roslaunch turtlebot3_bringup turtlebot3_robot.launch
  1. The repo that you cloned might have been removed as other people have been using the same machine. Redo the steps to clone the repo and build it using catkin_make .(on the laptop open a new terminal)
cd ~/catkin_ws/src
git clone <https://github.com/RPM-lab-UMN/real_robot_challenge.git>
cd ~/catkin_ws
catkin_make

Wait for the build to finish.

  1. Open the code in VS Code for editing:
cd ~/catkin_ws/src
code .

This should open up the code that we have setup. You will need to make some modifications inside here.