Commit Graph

437 Commits

Author SHA1 Message Date
Nikolaus Demmel 6c4fa75430 test: increase gtest discover timeouts 2019-04-24 15:49:41 +02:00
Nikolaus Demmel 6755f08678 ci and cmake improvements
Changes along the line of
https://gitlab.com/VladyslavUsenko/basalt-headers/merge_requests/1 and
https://gitlab.com/VladyslavUsenko/basalt-headers/merge_requests/2,
and more.

Warning free builds on macos 10.11 - 10.14, Ubuntu Xenial &
Bionic. (macOS 10.14 is not yet in CI, but tested locally.)

Changes similar to basalt-headers:

 - cmake: raise minimum version to 3.10
 - cmake: add workarounds to support macOS < 10.14
 - cmake: set ccache only if not yet set and print info
 - cmake: add NDEBUG define (to disable asserts) for release build and
   EIGEN_INITIALIZE_MATRICES_BY_NAN for others. Add externally supplied
   CMAKE_CXX_FLAGS at the end to allow overriding the defaults.
 - tests: add enable_testing() in main CMakeLists.txt, such that we can
   call 'ctest' from build folder.
 - tests: simplify gtest / gtest_main linking
 - tests: use the newer gtest_discover_tests instead of add_test, which
   adds a separate cmake test for every gtest, even with multiple
   defined in a single executable. Its not only more reliable and less
   verbose in the CMakeLists.txt, but also allows to run 'ctest'
   without -V and still see status for every individual test.
 - ci: add build jobs for Debug/RelWithDebInfo on Bionic, as well as
   builds on Xenial and El Capitan. Use templates to simplify
   .gitlab-ci.yml
 - ci: clang-format job

Additional changes:

 - cmake: unify formatting
 - cmake: various diagnostic warnings for situations that are
   unsupported (should help with gitlab issues).
 - cmake options to disable openmp, pass custom eigen root,
   compiler-launcher, additional CXX_FLAGS that can override default
   flags also for submodules (opengv etc), ...
 - cmake: moved configuration of submodule libs to
   `thirdparty/CMakeLists.txt`. This includes various fixes for
   limiatations of the thirdparty cmake definitions. In particular
   ensures that correct eigen is used, that opengv respects march and
   CXX_FLAGS passed from command line.
 - cmake: simplified linking of executables. Linking `basalt` is
   enough.
 - cmake: basalt sources now build with the minimal disabled
   warnings ("-Wall Wextra -Werror -Wno-unused-parameter
   -ftemplate-backtrace-limit=0", and additionally "-Wno-exceptions"
   for clang). Additional flags are now only set for the submodule
   targets in thirdparty.
 - tests: Running ctest in build folder now also runs the unit tests
   from basalt-headers.
 - ci: in addition to the additional compile jobs and there are now
   also 'test' jobs, that check that the executables in the deb's
   work (runs on all branches, not just master).
2019-04-24 14:21:24 +02:00
Nikolaus Demmel 2d247ac74c fix install_mac_os_deps.sh 2019-04-24 13:17:12 +02:00
Nikolaus Demmel 7f705b2525 Update basalt-headers submodule. 2019-04-24 13:16:50 +02:00
Nikolaus Demmel 9624f6b391 add ./scripts/clang-format-all.sh and fix formatting 2019-04-24 13:16:06 +02:00
Nikolaus Demmel ac80d2ea30 Fix unused constant warning. 2019-04-24 03:55:57 +02:00
Vladyslav Usenko bc62be4922 fixed unitialized jacobian 2019-04-19 16:50:12 +02:00
Vladyslav Usenko 16d4fd90a8 moved vocabulary to submodules 2019-04-18 14:26:45 +02:00
Vladyslav Usenko 54bbeb1b81 Moving vocabulary to lfs 2019-04-18 14:05:57 +02:00
Vladyslav Usenko 320074bf94 Merge branch 'master' of gitlab.vision.in.tum.de:slam/basalt 2019-04-18 13:39:50 +02:00
Vladyslav Usenko dda61be439 Update .gitlab-ci.yml 2019-04-18 13:39:31 +02:00
Vladyslav Usenko 1e343b5ade Update .gitlab-ci.yml 2019-04-18 10:57:20 +00:00
Vladyslav Usenko 660155376e Update .gitlab-ci.yml 2019-04-18 09:29:31 +00:00
Vladyslav Usenko 97647bca5f Update README.md 2019-04-17 11:23:17 +00:00
Vladyslav Usenko c9dd1358f9 Merge branch 'md_test' into 'master'
Update doc/Calibration.md, doc/Simulation.md, doc/VioMapping.md files

See merge request VladyslavUsenko/basalt!5
2019-04-17 10:51:14 +00:00
Vladyslav Usenko f25c1ec0c8 Update doc/Calibration.md, doc/Simulation.md, doc/VioMapping.md files 2019-04-17 10:47:25 +00:00
Vladyslav Usenko d517edcdf2 Merge branch 'vlad_devel' into 'master'
Make names of the buttons consistent.

See merge request VladyslavUsenko/basalt!4
2019-04-16 12:48:09 +00:00
Vladyslav Usenko 5e26307a51 Make names of the buttons consistent. 2019-04-16 12:48:08 +00:00
Vladyslav Usenko d583c03111 Merge branch 'david_devel' into 'master'
Small fixes in documentation

See merge request VladyslavUsenko/basalt!3
2019-04-16 11:50:42 +00:00
David Schubert 2ea00a91ab Small fixes in documentation 2019-04-16 11:50:42 +00:00
Vladyslav Usenko f370cf8866 Update Calibration.md 2019-04-16 08:14:11 +00:00
Vladyslav Usenko d1c63535fc Small changes to mapper. 2019-04-16 06:24:59 +00:00
Vladyslav Usenko a3b5e37999 updated Readme.md 2019-04-16 08:13:21 +02:00
Vladyslav Usenko 1f6e38d95e Update .gitlab-ci.yml 2019-04-15 21:20:46 +00:00
Vladyslav Usenko e1079450fc Update run_evaluations.sh 2019-04-15 20:57:26 +00:00
Vladyslav Usenko e94923b8a7 Update src/utils/keypoints.cpp 2019-04-15 20:41:09 +00:00
Vladyslav Usenko 78254ac288 Update doc/Calibration.md 2019-04-15 16:53:59 +00:00
Vladyslav Usenko e4d5eca876 Merge branch 'vlad_devel' into 'master'
Euroc evaluation in CI

See merge request VladyslavUsenko/basalt!2
2019-04-15 15:39:02 +00:00
Vladyslav Usenko e15bb22410 Added euroc evaluation to CI 2019-04-15 15:38:58 +00:00
Vladyslav Usenko 1beb7132fc Merge branch 'david_devel' into 'master'
fixed double slashes when printing calib file path

See merge request VladyslavUsenko/basalt!1
2019-04-15 12:41:24 +00:00
David Schubert aeb850cc2c fixed double slashes when printing calib file path 2019-04-15 14:30:43 +02:00
Vladyslav Usenko d72339267e Change vocabulary location 2019-04-15 14:17:27 +02:00
Vladyslav Usenko 4fd5d503e6 Update README.md 2019-04-15 12:06:25 +00:00
Vladyslav Usenko ff62a4531b Added check if marg. data folder exists 2019-04-15 13:58:47 +02:00
Vladyslav Usenko df18656fd5 updated docs 2019-04-15 13:40:52 +02:00
Vladyslav Usenko 19f8f32642 Update README.md 2019-04-15 09:34:45 +00:00
Vladyslav Usenko 0cef943b16 Initial commit 2019-04-14 21:08:32 +02:00