-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
58 lines (41 loc) · 1.99 KB
/
Makefile
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
all :
mkdir -p build/
cd build/ && cmake -DCMAKE_BUILD_TYPE=Release \
$(CMAKE_ARGUMENTS) ..
$(MAKE) -C build $(MFLAGS) $(SPECIFIC_TARGET)
debug:
mkdir -p build/
mkdir -p build/logs/
cd build/ && cmake -DCMAKE_BUILD_TYPE=Debug \
$(CMAKE_ARGUMENTS) ..
$(MAKE) -C build $(MFLAGS)
stats:
mkdir -p build/
mkdir -p build/logs/
cd build/ && cmake -DSTATS=ON ..
$(MAKE) -C build $(MFLAGS)
#### DATA SET GENERATION ####
living_room_traj%_loop.raw : living_room_traj%_loop
if test -x ./build/thirdparty/scene2raw ; then echo "..." ; else echo "do make before"; false ; fi
./build/thirdparty/scene2raw living_room_traj$(*F)_loop living_room_traj$(*F)_loop.raw
living_room_traj%_loop :
mkdir $@
cd $@ ; wget http://www.doc.ic.ac.uk/~ahanda/$@.tgz; tar xzf $@.tgz
livingRoom%.gt.freiburg :
echo "Download ground truth trajectory..."
if test -x $@ ; then echo "Done" ; else wget http://www.doc.ic.ac.uk/~ahanda/VaFRIC/$@ ; fi
live.log :
./build/kfusion-qt-openmp $(live)
demo-ofusion:
./build/kfusion-main-openmp --compute-size-ratio 2 --fps 0 --block-read False --input-file /data/ev314/data/living_room_traj2_frei_png/scene.raw --icp-threshold 1e-05 --mu 0.008 --init-pose 0.34,0.5,0.24 --integration-rate 1 --volume-size 5 -B 8 --tracking-rate 1 --volume-resolution 512 --pyramid-levels 10,5,4 --rendering-rate 1 -k 481.2,-480,320,240
demo-kfusion:
./build/kfusion-main-openmp --compute-size-ratio 2 --fps 0 --block-read False --input-file /data/ev314/data/living_room_traj2_frei_png/scene.raw --icp-threshold 1e-05 --mu 0.1 --init-pose 0.34,0.5,0.24 --integration-rate 1 --volume-size 5 -B 8 --tracking-rate 1 --volume-resolution 512 --pyramid-levels 10,5,4 --rendering-rate 1 -k 481.2,-480,320,240
#### GENERAL GENERATION ####
clean :
rm -rf build
cleanall :
rm -rf build
rm -rf living_room_traj*_loop livingRoom*.gt.freiburg living_room_traj*_loop.raw
rm -f *.log
.PHONY : clean bench test all validate
.PRECIOUS: living_room_traj%_loop livingRoom%.gt.freiburg living_room_traj%_loop.raw