Setup (Native ROS - Ubuntu/Debian)


Step 1: Install ROS

Based on your flavor of GNU/Linux, follow the linked installation instructions below. Be sure to install the ros-VERSION-desktop-full version of ROS.

There is an experimental ROS installation for Arch Linux. While we love Arch, we've found the ROS package unreliable. If you must, you can follow the experimental instructions here.

Step 2: Install Additional ROS Packages

After ROS installation completes, install these additional ROS packages:

# install on Ubuntu 18.04 & Debian Stretch
sudo apt install ros-melodic-velodyne ros-melodic-ackermann-msgs ros-melodic-joy ros-melodic-serial

# install on Ubuntu 16.04 & Debian Jessie
sudo apt install ros-kinetic-velodyne ros-kinetic-ackermann-msgs ros-kinetic-joy ros-kinetic-serial

Step 3: Install the racecar simulator code

First make a racecar_ws:

mkdir -p ~/racecar_ws/src

Clone the racecar code:

cd ~/racecar_ws/src
git clone https://github.com/mit-racecar/racecar_simulator.git

Make the code:

    cd ~/racecar_ws
    catkin_make
    source devel/setup.bash