-
Notifications
You must be signed in to change notification settings - Fork 12
/
clean.sh
executable file
·57 lines (53 loc) · 2.09 KB
/
clean.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
if [ $# == "1" ]; then
if [ "$1" == "-a" ]; then
echo cleaning all
rm -r Thirdparty/DBoW2/build 2> /dev/null
rm -r Thirdparty/DBoW2/lib 2> /dev/null
rm -r Thirdparty/g2o/build 2> /dev/null
rm -r Thirdparty/g2o/lib 2> /dev/null
rm -r Thirdparty/Sophus/build 2> /dev/null
rm Vocabulary/ORBvoc.txt 2> /dev/null
else
echo 'cleaning primary, to clean all use -a'
fi
else
echo 'cleaning primary, to clean all use -a'
fi
rm -r build 2> /dev/null
# Clean executable examples
rm Examples/RGB-D/rgbd_tum \
Examples/RGB-D/rgbd_realsense_D435i \
Examples/RGB-D-Inertial/rgbd_inertial_realsense_D435i \
Examples/Monocular/mono_realsense_D435i \
Examples/Monocular/mono_euroc \
Examples/Monocular/mono_kitti \
Examples/Monocular/mono_tum \
Examples/Monocular/mono_tum_vi \
Examples/Monocular/mono_realsense_t265 \
Examples/Stereo/stereo_euroc \
Examples/Stereo/stereo_kitti \
Examples/Stereo/stereo_tum_vi \
Examples/Stereo/stereo_realsense_t265 \
Examples/Stereo/stereo_realsense_D435i \
Examples/Monocular-Inertial/mono_inertial_euroc \
Examples/Monocular-Inertial/mono_inertial_tum_vi \
Examples/Monocular-Inertial/mono_inertial_realsense_t265 \
Examples/Monocular-Inertial/mono_inertial_realsense_D435i \
Examples/Monocular-Inertial/mono_inertial_realsense_D435i_2 \
Examples/Stereo-Inertial/stereo_inertial_euroc \
Examples/Stereo-Inertial/stereo_inertial_tum_vi \
Examples/Stereo-Inertial/stereo_inertial_realsense_t265 \
Examples/Stereo-Inertial/stereo_inertial_realsense_D435i \
Examples/ROS/ORB_SLAM3/Mono \
Examples/ROS/ORB_SLAM3/Mono_Inertial \
Examples/ROS/ORB_SLAM3/MonoAR \
Examples/ROS/ORB_SLAM3/RGBD \
Examples/ROS/ORB_SLAM3/Stereo \
Examples/ROS/ORB_SLAM3/Stereo_Inertial \
Examples/Calibration/recorder_realsense_D435i \
Examples/Calibration/recorder_realsense_T265 \
Examples/Tests/viewer_dataset \
Examples/Tests/sophus_test \
2> /dev/null
rm -r Examples/ROS/ORB_SLAM3/build 2> /dev/null
echo cleaning complete