forked from robomechanics/quad-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
executable file
·32 lines (30 loc) · 864 Bytes
/
setup.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
# Install all common dependencies
echo
echo "#########################"
echo "Install base dependencies"
echo "#########################"
echo
sudo apt install -y doxygen libeigen3-dev python3-catkin-tools python-pip
pip install cpplint
# Install all dependencies from package setup files
echo
echo "########################################################"
echo "Installing dependencies specified in package setup files"
echo "########################################################"
echo
CWD=$(pwd)
for f in $(find -name 'setup_deps.sh'); do
echo "Found package setup file $f";
BASE=$(dirname $f)
cd "$BASE"
chmod +x setup_deps.sh
./setup_deps.sh
cd "$CWD"
done
# Install all rosdeps
echo
echo "#######################"
echo "Install all rosdeps"
echo "#######################"
echo
rosdep install --from-paths .. --ignore-src -r -y --rosdistro melodic