<commit_before><commit_msg>Add install script for realsense<commit_after>#!/bin/bash

# This script performs the instructions to install dependencies 
# from https://github.com/intel-ros/realsense.
# It assumes that ROS Kinetic is installed.

sudo apt-get install -yq ros-kinetic-rgbd-launch

sudo apt-key adv --keyserver keys.gnupg.net --recv-key C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C8B3A55A6F3EFCDE
sudo add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main" -u
sudo rm -f /etc/apt/sources.list.d/realsense-public.list.

sudo apt-get update
sudo apt-get install -yq librealsense2*

echo "Realsense Installation complete. You can run realsense-viewer"
echo "to verify the installation. Also, if the installation was successful,"
echo "the following line should contain the string 'realsense':"
modinfo uvcvideo | grep "version:"
{'fraction_non_alphanumeric': 0.10486486486486486, 'fraction_numerical': 0.017297297297297298, 'mean_word_length': 4.612121212121212, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2219983', 'n_tokens_mistral': 327, 'n_tokens_neox': 306, 'n_words': 92}