forked from b-it-bots/mas_industrial_robotics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
repository.debs
executable file
·74 lines (70 loc) · 1.96 KB
/
repository.debs
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#!/bin/bash
if [ $# == 0 ]; then
INSTALL_PACKAGES=true
else
INSTALL_PACKAGES=$1
fi
# create list of packages to install
packagelist=(
libcap2-bin
libudev-dev
libv4l-dev
python-catkin-tools
python-pygraphviz
python-rosinstall
python-setuptools
python-zmq
ros-kinetic-amcl
ros-kinetic-clear-costmap-recovery
ros-kinetic-cob-scan-unifier
ros-kinetic-cob-srvs
ros-kinetic-dwa-local-planner
ros-kinetic-dynamixel-controllers
ros-kinetic-dynamixel-msgs
ros-kinetic-eband-local-planner
ros-kinetic-gazebo-ros-control
ros-kinetic-gazebo-plugins
ros-kinetic-gmapping
ros-kinetic-urg-node
ros-kinetic-joint-state-controller
ros-kinetic-joy
ros-kinetic-serial
ros-kinetic-map-server
ros-kinetic-move-base
ros-kinetic-moveit-core
ros-kinetic-moveit-commander
ros-kinetic-moveit-msgs
ros-kinetic-moveit-planners
ros-kinetic-moveit-ros-move-group
ros-kinetic-moveit-setup-assistant
ros-kinetic-moveit-simple-controller-manager
ros-kinetic-openni-launch
ros-kinetic-openni2-launch
ros-kinetic-pr2-dashboard-aggregator
ros-kinetic-pr2-description
ros-kinetic-pr2-msgs
ros-kinetic-ros
ros-kinetic-ros-controllers
ros-kinetic-roslint
ros-kinetic-rqt-robot-dashboard
ros-kinetic-serial
ros-kinetic-smach
ros-kinetic-srdfdom
ros-kinetic-twist-mux
ros-kinetic-usb-cam
ros-kinetic-global-planner
)
### install debian packages listed in array above
if [ $INSTALL_PACKAGES != false ]; then
sudo apt-get update
sudo apt-get install -y ${packagelist[@]}
fi
### install further repositories
rosinstall .. /opt/ros/kinetic repository.rosinstall
### install dependencies of BRSU repositories
dependent_repositories=$(grep -r "local-name:" repository.rosinstall | cut -d":" -f 2 | sed -r 's/\s+//g')
for i in $dependent_repositories
do
cd ../$i
if [ -f repository.debs ]; then ./repository.debs $INSTALL_PACKAGES ; fi
done