-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
executable file
·54 lines (50 loc) · 1.12 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/bash
set -e
# Update package lists
sudo apt-get update
rosdep update
# Install dependencies for ROS and other required packages
sudo apt-get install -y \
gstreamer-1.0 \
python3 \
python3-venv \
python3-pyaudio \
libportaudio2 \
libportaudiocpp0 \
portaudio19-dev \
libatlas-base-dev \
ffmpeg \
flac \
sense-hat \
python3-dev \
python3-pip \
gcc \
python3-opencv \
python3-numpy \
python3-setuptools \
python3-dev \
git \
libssl-dev \
libusb-1.0-0-dev \
pkg-config \
libgtk-3-dev \
libglfw3-dev \
libgl1-mesa-dev \
libglu1-mesa-dev \
cmake \
libasound-dev \
python3-serial \
libavcodec-extra
# Install ROS 2 packages
sudo apt-get install -y \
ros-humble-dynamixel-sdk \
ros-humble-dynamixel-workbench-toolbox \
ros-humble-ros2-control \
ros-humble-ros2-controllers \
ros-humble-xacro \
ros-humble-joy-linux \
ros-humble-twist-mux \
ros-humble-joint-state-publisher \
ros-humble-hardware-interface
# Install dependencies from rosdep
rosdep install --from-paths src --ignore-src -y