forked from hrjp/rosenv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rosboard.bash
executable file
·42 lines (36 loc) · 780 Bytes
/
rosboard.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
#!/bin/bash
sudo apt update
sudo apt-get update
sudo apt install git
sudo apt install -y python3-pip
sudo pip3 install tornado
sudo pip3 install simplejpeg
sudo pip3 install rospkg
sudo pip3 install psutil
if [ ! -d "/home/catkin_ws/src" ]; then
echo
else
cd /home/catkin_ws/src
git clone https://github.com/dheera/rosboard
cd ..
catkin build
source devel/setup.bash
fi
if [ ! -d "/home/ros1_ws/src" ]; then
echo
else
cd /home/catkin_ws/src
git clone https://github.com/dheera/rosboard
cd ..
catkin build
source devel/setup.bash
fi
if [ ! -d "/home/$USER/catkin_ws/src" ]; then
echo
else
cd /home/catkin_ws/src
git clone https://github.com/dheera/rosboard
cd ..
catkin build
source devel/setup.bash
fi