forked from UBC-Snowbots/Nav_Onboarding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install_dependencies.sh
executable file
·40 lines (30 loc) · 1.59 KB
/
install_dependencies.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
#!/bin/bash
#######################################################################
# STOP: If the dependency you want to add is required for the project #
# to build, it should be added as a rosdep. This script should #
# only contain other dependecies, like those required for gazebo#
#######################################################################
######################################################################
# This script will download and install dependencies for the project #
######################################################################
echo "================================================================"
echo "Installing other ROS dependencies..."
echo "================================================================"
# Update Rosdeps
rosdep update
# The current directory
CURR_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Install all required dependencies to build this repo
rosdep install --from-paths src --ignore-src --rosdistro kinetic -y
echo "================================================================"
echo "Finished installing other ROS dependencies."
echo "================================================================"
echo ""
echo "================================================================"
echo "Installing Misc. Utilities"
echo "================================================================"
sudo apt-get install -y\
clang-format
echo "================================================================"
echo "Finished Installing Utilities"
echo "================================================================"