forked from ProgrammingRobotsStudyGroup/robo_magellan
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvictoria.sh
More file actions
executable file
·49 lines (39 loc) · 1020 Bytes
/
victoria.sh
File metadata and controls
executable file
·49 lines (39 loc) · 1020 Bytes
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
#!/bin/bash
#
# Check out and build code for Victoria
#
# Assumes catkin workspace ~/catkin_ws
# Assumes ROS Kinetic and MAVROS installed
#
source ~/catkin_ws/devel/setup.bash
#set -x #echo on
############################################################################
echo
echo Fetch/update robo_magellan
if rospack list | grep "robo_magellan" >/dev/null
then
echo Update robo_magellan
roscd robo_magellan
git pull
else
echo Fetch robo_magellan
cd ~/catkin_ws/src
git clone https://github.com/ProgrammingRobotsStudyGroup/robo_magellan.git
fi
############################################################################
echo
echo Fetch/update cone_finder
if rospack list | grep "cone_finder" >/dev/null
then
echo Update cone_finder
roscd cone_finder
git pull
else
echo Fetch cone_finder
cd ~/catkin_ws/src
git clone https://github.com/ProgrammingRobotsStudyGroup/TrafficConeFinderCode.git
fi
############################################################################
echo Build
cd ~/catkin_ws
catkin_make