sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116

sudo apt-get update

sudo apt-get install ros-kinetic-desktop-full
sudo apt-get install python-pip
pip install jupyter

pip install --upgrade pip

pip install https://github.com/ipython-contrib/jupyter_contrib_nbextensions/tarball/master --user

pip install jupyter_nbextensions_configurator --user
jupyter nbextensions_configurator enable --user

jupyter contrib nbextension install --user

sudo apt-get install libraw1394-11 libgtkmm-2.4-1v5 libglademm-2.4-1v5 libgtkglextmm-x11-1.2-dev libgtkglextmm-x11-1.2 libusb-1.0-0

sudo sh install_flycapture.sh

sudo apt-get install libglademm-2.4-dev

apt-get -f install

##Would you like to add a udev entry to allow access to
##IEEE-1394 and USB hardware?
#answer yes with username imager
#Add user imager to group pgrimaging.
#restart the udev daemon? y

#Open the /etc/default/grub file in any text editor. Find and replace:
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
#with this:
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.usbfs_memory_mb=1000"

#so that you can program an arduino without elevated privlages
sudo usermod -a -G dialout imager
# logout and log back in
sudo apt-get install ros-kinetic-pointgrey-caUntitled Folder 2mera-driver
mkdir -p ~/catkin/src
cd ~/catkin/src

sudo rosdep init
rosdep update
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
source ~/.bashrc
sudo apt-get install python-rosinstall
catkin_init_workspace
echo "source ~/catkin/devel/setup.bash" >> ~/.bashrc
echo "export ROS_PACKAGE_PATH=~/src.git:~/catkin:$ROS_PACKAGE_PATH" >> ~/.bashrc


wget http://www.phidgets.com/downloads/libraries/libphidget.tar.gz
tar -xvzf libphidget.tar.gz
cd libphidget-2.1.8.20151217 
./configure
make && sudo make install

wget http://www.phidgets.com/downloads/libraries/PhidgetsPython.zip
unzip PhidgetsPython.zip
cd PhidgetsPython
sudo python setup.py install

cd ~/catkin/src
git clone https://github.com/psilentp/phidgets
git clone https://github.com/psilentp/Kinefly.git
git clone https://github.com/psilentp/pointgrey_camera_driver.git

pip install scipy --user
In [ ]:
 

Comments

comments powered by Disqus