forked from cpaxton/costar_stack
-
Notifications
You must be signed in to change notification settings - Fork 2
/
install_indigo.sh
executable file
·43 lines (37 loc) · 1.57 KB
/
install_indigo.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/usr/bin/env sh
cd ~
mkdir -p costar_ws/src
cd ~/costar_ws
# Install ROS basics if they do not already exist
sudo apt-get install -y python-catkin-pkg python-rosdep python-wstool \
python-catkin-tools ros-$ROS_DISTRO-catkin ros-$ROS_DISTRO-ros-base
source /opt/ros/indigo/setup.bash
sudo apt-get update -qq
# Set up your basic deps
sudo apt-get install -y python-catkin-pkg python-rosdep python-wstool python-catkin-tools ros-$ROS_DISTRO-catkin
# Set up PCL 1.7.2
sudo add-apt-repository --yes ppa:v-launchpad-jochen-sprickerhof-de/pcl
sudo apt-get update
sudo apt-get install -y libpcl-all
# Set up Opencv-nonfree
sudo add-apt-repository --yes ppa:xqms/opencv-nonfree
sudo apt-get update
sudo apt-get install -y libopencv-nonfree-dev
catkin init
cd ~/costar_ws/src
source /opt/ros/indigo/setup.bash
git clone https://github.com/cpaxton/costar_stack.git
git clone https://github.com/cpaxton/iiwa_stack.git
git clone https://github.com/ros-industrial/robotiq.git
git clone https://github.com/jhu-lcsr/ObjRecRANSAC.git
git clone https://github.com/jbohren/rqt_dot.git
git clone https://github.com/ros-perception/ar_track_alvar.git
git clone https://github.com/gt-ros-pkg/hrl-kdl.git
git clone https://github.com/xqms/ur_modern_driver.git --branch thread_safety
rosdep install -y --from-paths ./ --ignore-src --rosdistro $ROS_DISTRO
# ----------------------------------------------------
# Do not install bullet unless you need it
#$HOME/costar_ws/src/costar_stack/install_bullet.sh
# ----------------------------------------------------
catkin build --continue
source ../devel/setup.bash