forked from robosoft-ai/SMACC2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup_build.sh
executable file
·44 lines (34 loc) · 1.39 KB
/
setup_build.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
#!/bin/bash
#wget https://raw.githubusercontent.com/ros-planning/navigation2/main/tools/initial_ros_setup.sh
#chmod a+x initial_ros_setup.sh
#./initial_ros_setup.sh
sudo apt-get update
sudo apt-get install -y python3-pip xterm python3-rosdistro python3-rosdep python3-vcstools
sudo pip3 install -U vcstool
echo "assuming we are located in the smacc folder"
mkdir -p ros2_repos
# --------- SMACC REPOS ------------
echo "smacc2 repos"
vcs import ros2_repos < smacc2.repos
vcs pull ros2_repos
# --------- ROS2 REPOS ------------
echo "installing ros2 repos"
wget https://raw.githubusercontent.com/ros2/ros2/master/ros2.repos
vcs import ros2_repos < ros2.repos
vcs pull ros2_repos
# -------- NAVIGATION2 REPOS --------------
echo "installing navigation repos"
vcs import ros2_repos < submodules/navigation2/tools/underlay.repos
vcs pull ros2_repos
# --------- MOVEIT REPOS ------------
#echo "installing moveit repos"
#wget https://raw.githubusercontent.com/ros-planning/moveit2/main/moveit2.repos
#vcs import ros2_repos < moveit2.repos
#vcs pull ros2_repos
# --------- ROS2 CONTROL REPOS ------------
#echo "installing ROS2 Control repos"
#vcs import ros2_repos/ros-controls < ros2_repos/ros2_control/ros2_control/ros2_control.repos
#vcs pull ros2_repos
# -----------------------------------
rosdep install -r --from-paths . --ignore-src --rosdistro rolling -y
colcon build --packages-skip transmission_interface