-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sh
executable file
·45 lines (40 loc) · 1008 Bytes
/
build.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
#!/usr/bin/env bash
export CMAKE_PREFIX_PATH=/usr/local/lib/cmake:$CMAKE_PREFIX_PATH
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
cd src/maddrive_ros_shared/third_party/Lslidar_ROS1_driver
git checkout C16_V2.6/2.8/3.0
cd -
if catkin list | grep -q "lslidar_driver"; then
catkin clean lslidar_driver
fi
catkin build \
tigra-project \
maddrive_ros_shared \
rtabmap \
rtabmap_ros \
ublox \
cv_bridge \
stereo_image_proc \
camera_calibration \
lslidar_driver \
realsense2_camera \
realsense2_description \
image_geometry \
hector_gazebo \
velodyne_simulator \
ublox \
rtcm_msgs \
nmea_msgs \
ntrip_client \
mavros \
rviz_satellite \
-j$(($(nproc)-2)) \
--cmake-args \
-D OpenCV_DIR="/usr/local/lib/cmake/opencv4" \
-D RTABMAP_SYNC_MULTI_RGBD=ON \
-D CATKIN_ENABLE_TESTING=False \
-D CMAKE_BUILD_TYPE=Release
# serial \
# ti_mmwave_rospkg \
# viso2 \
# orb_slam2_ros \