-
Notifications
You must be signed in to change notification settings - Fork 25
/
setup.sh
executable file
·33 lines (25 loc) · 952 Bytes
/
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
#!/bin/bash
# - Installing cpp dependencies
sudo apt update
sudo apt install -y python3-vcstool
sudo apt install -y libceres-dev
sudo apt install -y python3-pip
#install python dependencies
pip3 install torch==2.0.1+cu118 -f https://download.pytorch.org/whl/torch_stable.html
pip3 install torch-geometric==2.3.1
pip3 install torchvision==0.15.2+cu118 --extra-index-url https://download.pytorch.org/whl/cu118
pip3 install torch-sparse==0.6.17+pt20cu118 -f https://data.pyg.org/whl/torch-2.0.1+cu118.html
pip3 install pyg-lib -f https://data.pyg.org/whl/torch-2.0.1+cu118.html
pip install protobuf==3.20.*
#rosdep init
rosdep update --include-eol-distros
#import all repos
vcs import . < .rosinstall_ros2
#install python requirements
pip3 install -r requirements.txt
#rosdep install
rosdep install --from-paths . -y --ignore-src -r
# - Importing all dependencies
colcon build --symlink-install
# - Sourcing the workspace
source install/setup.bash