-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathnaviton_package.bash
executable file
·50 lines (40 loc) · 1003 Bytes
/
naviton_package.bash
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
#!/bin/bash
CLONE_BRANCH="main"
if [ ! -d "/home/catkin_ws/src" ]; then
echo
else
cd /home/catkin_ws/src
fi
if [ ! -d "/home/ros1_ws/src" ]; then
echo
else
cd /home/ros1_ws/src
fi
if [ ! -d "/home/$USER/catkin_ws/src" ]; then
echo
else
cd /home/$USER/catkin_ws/src
fi
if [ ! -d "/home/$USER/ros1_ws/src" ]; then
echo
else
cd /home/$USER/ros1_ws/src
fi
if [ $# -lt 1 ]; then
CLONE_BRANCH="main"
else
CLONE_BRANCH="$1"
fi
git clone -b $CLONE_BRANCH https://github.com/hrjp/kcctcore
git clone -b $CLONE_BRANCH https://github.com/hrjp/kcctnavigation
git clone -b $CLONE_BRANCH https://github.com/hrjp/waypoint_tools
git clone -b $CLONE_BRANCH https://github.com/hrjp/kcctsim
git clone https://github.com/hrjp/kcctplugin
git clone https://github.com/hrjp/ira_laser_tools
git clone https://github.com/hrjp/LeGO-LOAM
cd ..
catkin build
source devel/setup.bash
echo Welcome to Naviton Platform
echo Lets type this command
echo roslaunch kcctcore demo2d.launch