-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·127 lines (102 loc) · 4.2 KB
/
install.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
#!/bin/bash
# Reference: https://github.com/gaunthan/Turtlebot2-On-Melodic/blob/master/install_all.sh
# Reference: https://github.com/yujinrobot/kobuki_desktop/issues/53
echo "╔══╣ Install: Turtlebot2 for ROS Noetic (STARTING) ╠══╗"
# Install dependencies
sudo apt-get update
sudo apt-get install -y \
software-properties-common
sudo add-apt-repository -y \
ppa:ubuntuhandbook1/ppa
sudo apt install -y \
git \
libqt4-dev \
pyqt5-dev-tools \
libavahi-client-dev \
libavahi-common-dev \
libusb-dev \
libftdi-dev \
mongodb \
mongodb-dev \
python3-pip
python3 -m pip install -U \
pip
python3 -m pip install \
pymongo \
pycryptodome \
console \
utils \
ansible
# Download repositories
# - Turtlebot-related
git clone https://github.com/TeamSOBITS/turtlebot.git
git clone https://github.com/TeamSOBITS/turtlebot_apps.git
git clone https://github.com/TeamSOBITS/turtlebot_interactions.git
git clone https://github.com/TeamSOBITS/turtlebot_msgs.git
git clone https://github.com/TeamSOBITS/turtlebot_simulator.git
# - Kobuki-related
git clone https://github.com/TeamSOBITS/kobuki.git
git clone https://github.com/TeamSOBITS/kobuki_desktop.git
git clone https://github.com/yujinrobot/kobuki_core
git clone https://github.com/TeamSOBITS/kobuki_msgs.git
# - Others
git clone https://github.com/TeamSOBITS/yocs_msgs
git clone https://github.com/TeamSOBITS/yujin_ocs.git
git clone https://github.com/TeamSOBITS/ar_track_alvar
git clone https://github.com/TeamSOBITS/capabilities
git clone https://github.com/osrf/std_capabilities
git clone https://github.com/TeamSOBITS/stdr_simulator
git clone https://github.com/GT-RAIL/robot_pose_publisher
# git clone -b noetic-devel https://github.com/ros-planning/warehouse_ros_mongo
# git clone https://github.com/ros-planning/warehouse_ros
git clone https://github.com/TeamSOBITS/rocon_app_platform
git clone https://github.com/TeamSOBITS/rocon_msgs
git clone https://github.com/TeamSOBITS/rocon_multimaster
git clone https://github.com/TeamSOBITS/rocon_tools
git clone https://github.com/TeamSOBITS/world_canvas
git clone https://github.com/TeamSOBITS/world_canvas_libs
git clone https://github.com/TeamSOBITS/world_canvas_msgs
git clone https://github.com/TeamSOBITS/zeroconf_avahi_suite
git clone https://github.com/TeamSOBITS/zeroconf_msgs
# Install ROS dependencies
sudo apt-get install -y \
ros-${ROS_DISTRO}-common-msgs \
ros-${ROS_DISTRO}-depthimage-to-laserscan \
ros-${ROS_DISTRO}-sensor-msgs \
ros-${ROS_DISTRO}-ecl-* \
ros-${ROS_DISTRO}-geometry2 \
ros-${ROS_DISTRO}-geometry-msgs \
ros-${ROS_DISTRO}-linux-peripheral-interfaces \
ros-${ROS_DISTRO}-navigation \
ros-${ROS_DISTRO}-nav-msgs \
ros-${ROS_DISTRO}-openslam-gmapping \
ros-${ROS_DISTRO}-robot-pose-ekf\
ros-${ROS_DISTRO}-rospy-message-converter \
ros-${ROS_DISTRO}-gmapping \
ros-${ROS_DISTRO}-std-msgs \
ros-${ROS_DISTRO}-unique-identifier \
ros-${ROS_DISTRO}-warehouse-ros \
ros-${ROS_DISTRO}-capabilities \
ros-${ROS_DISTRO}-urdf \
ros-${ROS_DISTRO}-roslint \
ros-${ROS_DISTRO}-rqt-robot-dashboard \
ros-${ROS_DISTRO}-kdl-conversions \
ros-${ROS_DISTRO}-cv-bridge \
ros-${ROS_DISTRO}-pcl-* \
ros-${ROS_DISTRO}-gazebo-ros \
ros-${ROS_DISTRO}-gazebo-plugins \
ros-${ROS_DISTRO}-resource-retriever \
ros-${ROS_DISTRO}-qt-* \
ros-${ROS_DISTRO}-interactive-markers \
ros-${ROS_DISTRO}-depth-image-proc \
ros-${ROS_DISTRO}-joy \
ros-${ROS_DISTRO}-xacro \
ros-${ROS_DISTRO}-rqt* \
ros-${ROS_DISTRO}-robot-state-publisher \
ros-${ROS_DISTRO}-joint-state-publisher \
ros-${ROS_DISTRO}-openni2-*
# Export variables
echo 'export TURTLEBOT_GAZEBO_WORLD_FILE="$HOME/catkin_ws/src/turtlebot2_on_noetic/turtlebot_simulator/turtlebot_gazebo/worlds/playground.world"' >> ~/.bashrc
echo 'export TURTLEBOT_STAGE_MAP_FILE="$HOME/catkin_ws/src/turtlebot2_on_noetic/turtlebot_simulator/turtlebot_stage/maps/maze.yaml"' >> ~/.bashrc
echo 'export TURTLEBOT_STAGE_WORLD_FILE="$HOME/catkin_ws/src/turtlebot2_on_noetic/turtlebot_simulator/turtlebot_stage/maps/stage/maze.world"' >> ~/.bashrc
echo "╚══╣ Install: Turtlebot2 for ROS Noetic (FINISHED) ╠══╝"