File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 1
1
if [ -z " ${TOUR_GUIDE_ROBOT_SOURCE_DIR} " ]; then
2
2
if [ -z " ${HSP_CODE} " ]; then
3
+ echo " Setting TOUR_GUIDE_ROBOT_SOURCE_DIR to ~/tour-guide-robot"
3
4
echo " export TOUR_GUIDE_ROBOT_SOURCE_DIR=~/tour-guide-robot" >> ~ /.bashrc
4
5
else
6
+ echo " Setting TOUR_GUIDE_ROBOT_SOURCE_DIR to ${HSP_CODE} /tour-guide-robot"
5
7
echo " export TOUR_GUIDE_ROBOT_SOURCE_DIR=${HSP_CODE} /tour-guide-robot" >> ~ /.bash_profile
6
8
fi
7
9
else
10
12
11
13
if [ -z " ${CER_SIM_ROOT_DIR} " ]; then
12
14
if [ -z " ${ROBOT_CODE} " ]; then
15
+ echo " Setting CER_SIM_ROOT_DIR to ~/robotology/cer-sim"
13
16
echo " export CER_SIM_ROOT_DIR=~/robotology/cer-sim" >> ~ /.bashrc
14
17
else
15
- echo " export CER_SIM_ROOT_DIR=${ROBOT_CODE} /cer-sim" >> ~ /.bash_profile
18
+ echo " Setting CER_SIM_ROOT_DIR to ${ROBOT_CODE} /cer-sim"
19
+ echo " export CER_SIM_ROOT_DIR=${ROBOT_CODE} /cer-sim" >> ~ /.bashrc
16
20
fi
17
21
else
18
22
echo " The env is already set to: ${CER_SIM_ROOT_DIR} "
19
23
fi
24
+ if [[ " :$PATH :" == * " :app/headSynchronizer/scripts:" * ]]; then
25
+ echo " Your path is correctly set"
26
+ else
27
+ echo " Your path is missing the path to the joypad scripts. Adding them."
28
+ echo " export PATH=\$ PATH:${TOUR_GUIDE_ROBOT_SOURCE_DIR} /app/navigation2/scripts:${TOUR_GUIDE_ROBOT_SOURCE_DIR} /app/headSynchronizer/scripts" >> ~ /.bashrc
29
+ fi
You can’t perform that action at this time.
0 commit comments