-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathget_dependencies.sh
executable file
·103 lines (95 loc) · 2.74 KB
/
get_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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
if [ ! -d "deps" ]; then
mkdir deps
fi
cd deps
mkdir install
DIR=CppNumericalSolvers
echo ===========================================================================
echo $DIR
echo ===========================================================================
if [ ! -d "$DIR" ]; then
git clone https://github.com/PatWie/CppNumericalSolvers.git
cd $DIR
# TODO there is a bug in future versions that prevents setting stopping
# criteria
git checkout d21022ff8a76b2c33714110374d2393fb4430f93
cd ..
fi
DIR=console_bridge
echo ===========================================================================
echo $DIR
echo ===========================================================================
if [ ! -d "$DIR" ]; then
git clone https://github.com/ros/console_bridge.git
cd $DIR
#git checkout 34f5c7d0fa4cb11abb7e794a86fa251432e8827a
git checkout 0.2.5
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=../../install ..
make -j2
make install
cd ../..
fi
DIR=urdfdom_headers
echo ===========================================================================
echo $DIR
echo ===========================================================================
if [ ! -d "$DIR" ]; then
git clone https://github.com/rock-learning/urdfdom_headers.git
cd $DIR
git checkout fork
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=../../install ..
make -j2
make install
cd ../..
fi
DIR=urdfdom
echo ===========================================================================
echo $DIR
echo ===========================================================================
if [ ! -d "$DIR" ]; then
git clone https://github.com/rock-learning/urdfdom.git
cd $DIR
git checkout fork
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=../../install -DCMAKE_MODULE_PATH=../../install/share ..
make -j2
make install
cd ../..
fi
DIR=orocos_kinematics_dynamics
echo ===========================================================================
echo $DIR
echo ===========================================================================
if [ ! -d "$DIR" ]; then
git clone https://github.com/orocos/orocos_kinematics_dynamics.git
cd $DIR/orocos_kdl
git checkout 2aa76640f0a1c5ac57946c20e844372578b55743
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=../../../install ..
make -j2
make install
cd ../../..
fi
DIR=robot_model
echo ===========================================================================
echo $DIR
echo ===========================================================================
if [ ! -d "$DIR" ]; then
git clone https://github.com/rock-learning/robot_model.git
cd $DIR
git checkout fork
cd kdl_parser
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=../../../install ..
make -j2
make install
cd ../../..
fi
cd ..