Environment Setup - AmyPhung/SLAM-SoftDes-Final-Project GitHub Wiki

Prerequisites

Installation

To install ROS Turtlebot Packages in Kinetic use (reference)

sudo apt-get install ros-kinetic-turtlebot ros-kinetic-turtlebot-apps ros-kinetic-turtlebot-interactions 
ros-kinetic-turtlebot-simulator ros-kinetic-kobuki-ftdi ros-kinetic-ar-track-alvar-msgs

To install Pillow

pip install Pillow

To install catkin use (reference)

sudo apt-get install ros-kinetic-catkin

To setup a catkin workspace use: (reference)

Note: Make sure your catkin workspace is at ~/catkin_ws otherwise the code may not work properly

source /opt/ros/kinetic/setup.bash
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/
catkin_make
source devel/setup.bash

Clone our repo into a file location of your choice (instructions save it to downloads folder)

cd ~/Downloads
git clone https://github.com/AmyPhung/SLAM-SoftDes-Final-Project.git

Move the nav_turtle folder into your new catkin workspace

cd ~/Downloads/SLAM-SoftDes-Final-Project
mv -r nav_turtle ~/catkin_ws/src/nav_turtle

Catkin make package

cd ~/catkin_ws
catkin_make

If there are a lot of errors with other unused packages, you can use catkin_make -DCATKIN_WHITELIST_PACKAGES="nav_turtle" to only catkin_make this package. To reset this, use the command catkin_make -DCATKIN_WHITELIST_PACKAGES=""