forked from Soldann/MORB_SLAM
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclean.sh
More file actions
executable file
·49 lines (44 loc) · 1.95 KB
/
clean.sh
File metadata and controls
executable file
·49 lines (44 loc) · 1.95 KB
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
#!/bin/bash
# https://stackoverflow.com/questions/24112727/relative-paths-based-on-file-location-instead-of-current-working-directory
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
cd "$parent_path" # change directories so working directory is where the script is
rm -rf Vocabulary/ORBvoc.txt 2> /dev/null
rm -rf build 2> /dev/null
rm -rf bin 2> /dev/null
# Clean executable examples
rm -rf 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/MORB_SLAM/Mono \
Examples/ROS/MORB_SLAM/Mono_Inertial \
Examples/ROS/MORB_SLAM/MonoAR \
Examples/ROS/MORB_SLAM/RGBD \
Examples/ROS/MORB_SLAM/Stereo \
Examples/ROS/MORB_SLAM/Stereo_Inertial \
Examples/Calibration/recorder_realsense_D435i \
Examples/Calibration/recorder_realsense_T265 \
Examples/Tests/viewer_dataset \
Examples/Tests/sophus_test \
2> /dev/null
rm -rf Examples/ROS/MORB_SLAM/build 2> /dev/null
echo cleaning complete