forked from dmar-bonn/ipp-rl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_instructions.sh
executable file
·35 lines (30 loc) · 1.31 KB
/
build_instructions.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
source /opt/ros/noetic/setup.bash
# prepare ssh key permissions
cp -R /tmp/.ssh /root/.ssh
chmod 700 /root/.ssh
chmod 644 /root/.ssh/id_rsa.pub
chmod 600 /root/.ssh/id_rsa
chmod 600 /root/.ssh/config
# initialize catkin workspace
catkin init
catkin config --extend /opt/ros/noetic
catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release
catkin config --merge-devel
# download dependencies
mkdir -p src && cd src/
git clone [email protected]:popoviclab/mav_comm.git
git clone [email protected]:popoviclab/mav_trajectory_generation.git
git clone [email protected]:ethz-asl/rotors_simulator.git
git clone [email protected]:ethz-asl/mav_control_rw.git
git clone [email protected]:catkin/catkin_simple.git
git clone [email protected]:ethz-asl/eigen_catkin.git
git clone [email protected]:ethz-asl/eigen_checks.git
git clone [email protected]:ethz-asl/glog_catkin.git
git clone [email protected]:ethz-asl/nlopt.git
# move own packages to src file
cp -R ../planning/ .
# install workspace
echo "source /mapping_ipp_framework/devel/setup.bash" >> ~/.bashrc
source /opt/ros/noetic/setup.bash
# FIXME: include mav_control_rw if ROS NMPC control package should be built. This takes around 20min
catkin build # ipp_planning mav_trajectory_generation rotors_simulator mav_control_rw catkin_simple eigen_catkin eigen_checks glog_catkin mav_comm nlopt