-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall_mobiman.sh
executable file
·118 lines (95 loc) · 2.98 KB
/
install_mobiman.sh
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
#!/bin/bash
# Author: Sarvesh Prajapati (SP)
# Neset Unver Akmandor (NUA)
# E-Mail: [email protected]
# TODO:
#
# NOTES:
#
cd ..
# 3.1 Install outsourced ROS packages.
# 3.1.1 hpp-fcl
git clone --recurse-submodules https://github.com/leggedrobotics/hpp-fcl.git
# 3.1.2 ocs2_robotic_assets
git clone https://github.com/leggedrobotics/ocs2_robotic_assets.git
# 3.1.3 coveyor_demo
git clone --recurse-submodules https://github.com/rokokoo/conveyor_demo.git
# 3.1.4 gazebo_ros_link_attacher
git clone [email protected]:pal-robotics/gazebo_ros_link_attacher.git
# 3.2 Install edited ROS packages (checkout to the specified branch is required).
# 3.2.1 ocs2
git clone [email protected]:RIVeR-Lab/ocs2.git
cd ocs2/
git checkout noetic-akmandor-v13
cd ..
# 3.2.2 pinocchio
git clone --recurse-submodules https://github.com/RIVeR-Lab/pinocchio.git
cd pinocchio/
git checkout noetic-akmandor
cd ..
# 3.2.3 robot_collision_checking
git clone [email protected]:RIVeR-Lab/robot_collision_checking.git
cd robot_collision_checking/
git checkout noetic-devel
cd ..
# 3.2.4 jackal
git clone [email protected]:RIVeR-Lab/jackal.git
cd jackal/
git checkout noetic-akmandor
cd ..
# 3.2.5 universal_robot
git clone [email protected]:RIVeR-Lab/universal_robot.git
cd universal_robot/
git checkout noetic-akmandor
cd ..
# 3.2.5 geometry2
#git clone [email protected]:RIVeR-Lab/geometry2.git
#cd geometry2/
#git checkout noetic-akmandor
#cd ..
# 3.2.6 pedsim_ros
git clone [email protected]:RIVeR-Lab/pedsim_ros.git
cd pedsim_ros
git checkout noetic-akmandor
git submodule update --init --recursive
cd ..
# 3.2.7 kinova-ROS
git clone [email protected]:RIVeR-Lab/kinova-ros.git
cd kinova-ros
git checkout noetic-akmandor
cd ..
# 3.2.8 openai_ros
git clone [email protected]:RIVeR-Lab/openai_ros.git
cd openai_ros
git checkout devel-v2
cd ..
# 3.2.9 mocap_optitrack
git clone [email protected]:RIVeR-Lab/mocap_optitrack.git
cd mocap_optitrack
git checkout noetic-mobiman-v1
cd ..
# 3.3 Install other ROS dependencies:
sudo apt-get install -y ros-noetic-octomap*
sudo apt-get install -y ros-noetic-pointcloud-to-laserscan
sudo apt-get install -y ros-noetic-jackal-simulator ros-noetic-jackal-desktop ros-noetic-jackal-navigation
sudo apt-get install -y nlohmann-json3-dev
sudo apt-get install -y liburdfdom-dev liboctomap-dev libassimp-dev libglpk-dev
sudo apt-get install -y ros-noetic-pybind11-catkin
sudo apt-get install -y python3-catkin-tools
sudo apt-get install -y doxygen doxygen-latex
sudo apt-get install -y ros-noetic-rqt-multiplot
sudo apt-get install -y ros-noetic-moveit
# 3.4 Install remaining ROS dependencies using rosdep tool:
wait
source /opt/ros/noetic/setup.bash
rosdep install --from-paths src --ignore-src -r -y
# 3.4 Install Python dependencies (required for tentabot drl).
pip install stable-baselines3[extra]
pip install gymnasium
pip install squaternion
# 3.5 Set catkin configuration:
catkin config --extend /opt/ros/noetic
catkin config -DCMAKE_BUILD_TYPE=Release
# 3.6 Build the catkin workspace:
#catkin build