-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsetup.py
54 lines (49 loc) · 2.45 KB
/
setup.py
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
import os, shutil
import eth_setup, kaist_setup, planetary_setup, tum_setup
dirname = os.path.abspath(os.path.dirname(__file__))
pairs_dir = os.path.join(dirname, "devel", "registration_pairs")
os.mkdir("eth")
os.chdir("eth")
eth_setup.main()
shutil.copy2(os.path.join(pairs_dir, "apartment_global.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "apartment_local.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "stairs_global.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "stairs_local.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "plain_global.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "plain_local.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "hauptgebaude_global.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "hauptgebaude_local.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "gazebo_summer_global.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "gazebo_summer_local.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "gazebo_winter_global.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "gazebo_winter_local.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "wood_summer_global.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "wood_summer_local.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "wood_autumn_global.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "wood_autumn_local.txt"), ".")
os.chdir("..")
os.mkdir("kaist")
os.chdir("kaist")
kaist_setup.main()
shutil.copy2(os.path.join(pairs_dir, "urban05_global.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "urban05_local.txt"), ".")
os.chdir("..")
os.mkdir("planetary")
os.chdir("planetary")
planetary_setup.main()
shutil.copy2(os.path.join(pairs_dir, "box_met_global.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "box_met_local.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "p2at_met_global.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "p2at_met_local.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "planetary_map_global.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "planetary_map_local.txt"), ".")
os.chdir("..")
os.mkdir("tum")
os.chdir("tum")
tum_setup.main()
shutil.copy2(os.path.join(pairs_dir, "pioneer_slam_global.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "pioneer_slam_local.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "pioneer_slam3_global.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "pioneer_slam3_local.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "long_office_household_global.txt"), ".")
shutil.copy2(os.path.join(pairs_dir, "long_office_household_local.txt"), ".")