forked from gaunthan/Turtlebot2-On-Melodic
-
Notifications
You must be signed in to change notification settings - Fork 5
/
install_turtlebot.sh
43 lines (34 loc) · 1.36 KB
/
install_turtlebot.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 bash
set -e
sudo apt update
sudo apt install git -y
sudo apt install ros-melodic-kobuki-* -y
sudo apt install ros-melodic-ecl-streams -y
sudo apt install ros-melodic-depthimage-to-laserscan -y
sudo apt install ros-melodic-joy -y
sudo apt install ros-melodic-yujin-ocs -y
mkdir -p ~/turtlebot_ws/src
cd ~/turtlebot_ws/src
git clone https://github.com/turtlebot/turtlebot.git
git clone https://github.com/turtlebot/turtlebot_apps.git
git clone https://github.com/turtlebot/turtlebot_msgs.git
git clone https://github.com/turtlebot/turtlebot_interactions.git
git clone https://github.com/turtlebot/turtlebot_simulator.git
git clone https://github.com/yujinrobot/kobuki_desktop.git
rm -rf kobuki_desktop/kobuki_qtestsuite
git clone --single-branch --branch melodic https://github.com/yujinrobot/kobuki.git
mv kobuki/kobuki_description kobuki/kobuki_bumper2pc \
kobuki/kobuki_node kobuki/kobuki_keyop \
kobuki/kobuki_safety_controller ./
rm -rf kobuki
# optional; probably for navigation stack
#git clone https://github.com/udacity/robot_pose_ekf.git
#git clone https://github.com/toeklk/orocos-bayesian-filtering.git
#cd orocos-bayesian-filtering/orocos_bfl/
#./configure
#make -j && sudo make install
cd ~/turtlebot_ws
catkin_make
echo "source ~/turtlebot_ws/devel/setup.bash --extend" >> ~/.bashrc
source ~/.bashrc
echo "turtlebot has been installed successfully!"