File tree 2 files changed +32
-0
lines changed
2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ AR_ROOT=$( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd)
4
+
5
+ # catkin workspace alias
6
+ alias AR_source=" source ${AR_ROOT} /ar_environment.sh"
7
+ alias AR_clean=" cd ${AR_ROOT} /build && make clean"
8
+ alias AR_build=" cd ${AR_ROOT} && rm -f -r build && mkdir build && cd build && cmake .."
9
+ alias AR_make=" cd ${AR_ROOT} /build && make"
10
+ alias AR_cd=" cd ${AR_ROOT} "
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # THIS SCRIPT SHOULD RUN AFTER environment.sh contained in AppliedRoboticsEncironment folder
4
+ CATKIN_SHELL=bash
5
+
6
+ printf " * StudentInterface/environment.sh\n"
7
+ if [ -z " $AR_ROOT " ]
8
+ then
9
+ if [ -z " $AR_CATKIN_ROOT " ]
10
+ then
11
+ printf " \t* \e[31mERROR. Did you source the environment in AppliedRoboticsEnvironment?\e[0m\n"
12
+ else
13
+ source " $( dirname " ${BASH_SOURCE[0]} " ) /aliases"
14
+ printf " \t\t* \e[32m DONE!\n\e[0m"
15
+ fi
16
+ else
17
+ printf " \t*\e[33m Seems that you already source this environment.\e[0m\n"
18
+ fi
19
+
20
+
21
+
22
+
You can’t perform that action at this time.
0 commit comments