forked from xdspacelab/openvslam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wercker.yml
96 lines (92 loc) · 3.93 KB
/
wercker.yml
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
box:
id: shinsumicco/openvslam-env
no-response-timeout: 20
build_with_gui:
steps:
- script:
name: cmake and make with pangolin viewer
code: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_WITH_MARCH_NATIVE=ON -DUSE_PANGOLIN_VIEWER=ON -DUSE_SOCKET_PUBLISHER=OFF -DUSE_STACK_TRACE_LOGGER=ON -DBOW_FRAMEWORK=DBoW2 -DBUILD_TESTS=ON ..
make -j $(($(nproc) / 2))
- script:
name: cmake and make with socket publisher
code: |
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_WITH_MARCH_NATIVE=ON -DUSE_PANGOLIN_VIEWER=OFF -DUSE_SOCKET_PUBLISHER=ON -DUSE_STACK_TRACE_LOGGER=ON -DBOW_FRAMEWORK=DBoW2 -DBUILD_TESTS=ON ..
make -j $(($(nproc) / 2))
after-steps:
- install-packages:
packages: ruby
- wantedly/pretty-slack-notify:
webhook_url: $SLACK_WEBHOOK_URL
passed_message: "succeeded in building with GUI :smile:"
failed_message: "failed in building with GUI :dizzy_face:"
build_without_gui:
steps:
- script:
name: cmake and make
code: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_WITH_MARCH_NATIVE=ON -DUSE_PANGOLIN_VIEWER=OFF -DUSE_SOCKET_PUBLISHER=OFF -DUSE_STACK_TRACE_LOGGER=ON -DBOW_FRAMEWORK=DBoW2 -DBUILD_TESTS=ON ..
make -j $(($(nproc) / 2))
- script:
name: unit test
code: |
cd build
ctest -V
- script:
name: SLAM test (monocular) with EuRoC MAV dataset
code: |
cd build
./run_euroc_slam -v /datasets/orb_vocab/orb_vocab.dbow2 -d /datasets/EuRoC/MH_04 -s ../example/euroc/EuRoC_mono.yaml --frame-skip 2 --no-sleep --debug --eval-log --map-db euroc_mono.msg
- script:
name: SLAM test (stereo) with EuRoC MAV dataset
code: |
cd build
./run_euroc_slam -v /datasets/orb_vocab/orb_vocab.dbow2 -d /datasets/EuRoC/MH_04 -s ../example/euroc/EuRoC_stereo.yaml --frame-skip 2 --no-sleep --debug --eval-log --map-db euroc_stereo.msg
after-steps:
- install-packages:
packages: ruby
- wantedly/pretty-slack-notify:
webhook_url: $SLACK_WEBHOOK_URL
passed_message: "succeeded in building and testing without GUI :smile:"
failed_message: "failed in building and testing without GUI :dizzy_face:"
build_tutorial:
steps:
- script:
name: cmake and make
code: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_WITH_MARCH_NATIVE=ON -DUSE_PANGOLIN_VIEWER=OFF -DUSE_SOCKET_PUBLISHER=OFF -DUSE_STACK_TRACE_LOGGER=ON -DBOW_FRAMEWORK=DBoW2 -DBUILD_TESTS=ON ..
make -j $(($(nproc) / 2))
- script:
name: download a dataset
code: |
cd build
FILE_ID="1mYJ_W6WsMjOqoNGaEoOvIe17NuEMYcSz"
curl -sc /tmp/cookie "https://drive.google.com/uc?export=download&id=${FILE_ID}" > /dev/null
CODE="$(awk '/_warning_/ {print $NF}' /tmp/cookie)"
curl -sLb /tmp/cookie "https://drive.google.com/uc?export=download&confirm=${CODE}&id=${FILE_ID}" -o aist_entrance_hall_1.zip
unzip aist_entrance_hall_1.zip
rm aist_entrance_hall_1.zip
- script:
name: mapping test with the tutorial
code: |
cd build
./run_video_slam -v /datasets/orb_vocab/orb_vocab.dbow2 -m ./aist_entrance_hall_1/movie.mp4 -s ./aist_entrance_hall_1/config.yaml --frame-skip 3 --no-sleep --debug --eval-log --map-db map.msg
- script:
name: localization test with the tutorial
code: |
cd build
./run_video_localization -v /datasets/orb_vocab/orb_vocab.dbow2 -m ./aist_entrance_hall_1/movie.mp4 -s ./aist_entrance_hall_1/config.yaml --frame-skip 3 --no-sleep --debug --eval-log --map-db map.msg
after-steps:
- install-packages:
packages: ruby
- wantedly/pretty-slack-notify:
webhook_url: $SLACK_WEBHOOK_URL
passed_message: "succeeded in building the tutorial :smile:"
failed_message: "failed in building the tutorial :dizzy_face:"