Commit Graph

23 Commits (master)

Author SHA1 Message Date
Chris Lalancette 1f69b83e8a
Minor fixes for Cartographer from ROS ()
* restrict boost dependencies to the ones used
* Also add googletest as a build dependency.
* Set GMOCK_INCLUDE_DIRS when doing src fallback.

Signed-off-by: Mikael Arguedas <mikael.arguedas@gmail.com>
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Co-authored-by: Mikael Arguedas <mikael.arguedas@gmail.com>
2020-10-23 15:38:58 +02:00
Alexander Belyaev ade7605fac
Use installed Abseil. () 2020-06-24 10:53:03 +02:00
Wolfgang Hess 21a8299caa
Add Ubuntu 20.04 to the install scripts, CI, docs. ()
Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-06-18 14:44:58 +02:00
Wolfgang Hess e8c1d840e6
Small fixes needed for focal support. ()
Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-06-17 10:09:14 +02:00
Wolfgang Hess db85e0894d
Remove Ubuntu Trusty from CI. ()
Ubuntu 14.04 has reached end of standard support.
Moves additional testing that was only done for
Trusty to Bionic.
2020-06-10 11:13:34 +02:00
Juraj Oršulić c370d221d0 Windows build fixes & Azure CI ()
This PR makes libcartographer build on Windows (including tests). Abseil was bumped to avoid a MSVC compiler bug.

I have observed two tests failing:
`MapBuilderTestByGridType/MapBuilderTestByGridType.GlobalSlam2D/1` and `MapBuilderTestByGridType/MapBuilderTestByGridType.LocalizationOnFrozenTrajectory2D/1`.
2018-12-16 17:04:23 +01:00
amikholap b7fb299d1a Better Abseil library order ()
Got linker error for Abseil in the build env due to imprecise library order.
Worked fine on the dev machine though.
Maybe helps someone.

https://pastebin.com/raw/AEKPBt1n
2018-11-06 17:50:19 +01:00
Alexander Belyaev bdb6f2db4a
[ABSL] Use flat_hash_map instead of unordered_map. () 2018-10-08 10:47:28 +02:00
Alexander Belyaev 6274fc1558 [ABSL] Use absl::Substitute in rigid_transform debug messages. ()
it is at least readable.
2018-08-07 12:50:37 +02:00
Arno Fleck 12e11856af Use absl::Mutex instead of custom implementation ()
Makes `common::Mutex` an alias for `absl::Mutex` and replaces the logic inside `common::MutexLocker` with `absl::MutexLock`.

A future PR can then remove these classes entirely and replace references to it across the Cartographer code base with the Abseil classes directly.
2018-08-03 11:15:50 +02:00
Juraj Oršulić 0a10bc3a15 Make standalone_absl imported target global. () 2018-07-30 13:06:15 +02:00
Juraj Oršulić b1855d0d06 Fix Abseil build command ()
@pifon2a I've noticed the `BUILD_COMMAND` is broken. You're setting `ABSL_BUILD_COMMAND`, but using `ABSEIL_BUILD_COMMAND` (effectively empty). Somehow this doesn't confuse newer CMakes, but the one you install on Trusty gets confused and interprets this as a no-op build step. This causes the indigo pipeline in cartographer_ros to fail.

Use the cross-platform build command instead: 
https://cmake.org/cmake/help/latest/module/ExternalProject.html#obtaining-project-properties (just above the linked paragraph)
2018-07-28 17:42:09 +02:00
Juraj Oršulić 27a7a3dbdf FindAbseil.cmake: cross-platform library names ()
Fixes 
2018-07-27 23:41:25 +02:00
Alexander Belyaev 4990d4d5e9
[ABSL] Purge common::optional. () 2018-07-27 19:05:45 +02:00
Alexander Belyaev e3a7f39889
Add absl to CMake and Bazel builds. () 2018-07-26 06:49:37 +02:00
Alexander Belyaev 926b8540f6
Use CMake 3.2. () 2018-07-25 21:40:06 +02:00
gaschler e2966ca156 Do not install gmock ()
Fixes the issue described in https://github.com/googlecartographer/cartographer/pull/1041.

The docker file is not to be merged, it is only here to help reproducing the issue and fix.
2018-04-11 13:48:03 +02:00
Juraj Oršulić ae05658ff7 Work around FindGMock/Catkin target name clash ()
Handle case with multiple invocations (avoid pasting ${CMAKE_THREAD_LIBS_INIT} multiple times).
Also check if target 'gmock' already exists before building GMock to avoid failures if GMock was already
find_packaged() from another subproject.

FIXES=https://github.com/googlecartographer/cartographer_ros/issues/776
2018-03-26 14:23:32 +02:00
Holger Rapp 5363285b8f CMake bug fixes and performance improvements. ()
- Pin versions of Ceres and protobuf (Fixes ).
- Require Lua >= 5.2 (Fixes ).
- No longer run ceres tests in CI. We implicitly test Ceres through Cartographer's tests and this saves ~4 minutes on CI.
2017-11-10 12:55:43 +01:00
Jochen Sprickerhof 12b3cc0d7b Support new Debian version of gmock and add testing for debian systems () 2017-05-04 12:47:12 +02:00
Wolfgang Hess 1081473be9 Fix FindGMock.cmake and the CMake modules installation. () 2016-10-28 15:43:13 +02:00
Atsushi Watanabe f45eaa9c67 Supports system-wide installed GMock ()
This commit fixes .
Tested using docker ubuntu:trusty and native Fedora 24 with gmock 1.8.
2016-10-28 12:23:21 +02:00
Damon Kohler 269c28cb0c Moves the contents of the cartographer subdirectory up one level. 2016-08-03 12:48:29 +02:00