Commit Graph

1179 Commits (master)

Author SHA1 Message Date
邱棚 fbd65fc5f3 feat:fix z to zero 2024-07-12 15:20:35 +08:00
邱棚 eb5d0b2218 feat:build 2024-07-12 12:26:02 +08:00
Katherine Scott 877157a0d9
Add note for ROS users. (#1941)
* update rules_boost to latest version (#1898)

Signed-off-by: Xùdōng Yáng <wyverald@gmail.com>
Signed-off-by: kscottz <katherineAScott@gmail.com>

* Add note for ROS users.

Signed-off-by: kscottz <katherineAScott@gmail.com>

* spelling errors.

Signed-off-by: kscottz <katherineAScott@gmail.com>

---------

Signed-off-by: Xùdōng Yáng <wyverald@gmail.com>
Signed-off-by: kscottz <katherineAScott@gmail.com>
Co-authored-by: Xùdōng Yáng <wyverald@gmail.com>
2024-01-05 11:05:32 -08:00
Xùdōng Yáng ef00de2317
update rules_boost to latest version (#1898)
Signed-off-by: Xùdōng Yáng <wyverald@gmail.com>
2022-09-06 21:44:43 +02:00
Wolfgang Hess 9ab557476d
Add Debian Bullseye to the install scripts, CI, docs. (#1897)
Signed-off-by: Wolfgang Hess <whess@fsfe.org>
2022-07-28 08:09:21 +02:00
XiaotaoGuo 1173e80c45
removed unused param from cmake macro (#1847)
Signed-off-by: XiaotaoGuo <xtguo1995@outlook.com>
2022-07-23 15:10:49 +02:00
Linh Nguyen ca526de1f8
Fix crash caused by setting gravity lower bound (#1893)
Signed-off-by: Linh Nguyen <linh.nguyen@enway.ai>
2022-07-21 19:47:18 +02:00
Wolfgang Hess dc6263414b
Remove Debian Stretch from CI. (#1895)
It has reached end-of-life with the
end of LTS on June 30, 2022.

Signed-off-by: Wolfgang Hess <whess@fsfe.org>
2022-07-19 20:26:53 +02:00
Wolfgang Hess 7b8b29d6d5
Fix CI for Ubuntu 18.04 by disabling gRPC test build for now. (#1891)
Signed-off-by: Wolfgang Hess <whess@fsfe.org>
2022-07-16 13:05:24 +02:00
Takashi Ogura 5663e340c0
Fix typo in trajectory_builder_3d.lua (#1870)
Fix the comment (`use_intensites` -> `use_intensities`)

Signed-off-by: Takashi Ogura <t.ogura@gmail.com>
2022-07-04 19:39:13 +02:00
Wolfgang Hess f76f849e6a
Add Ubuntu 22.04 to the install scripts, CI, docs. (#1888)
Signed-off-by: Wolfgang Hess <whess@fsfe.org>
2022-07-04 19:38:24 +02:00
Chris Lalancette b1b63a3cb1
Add libabsl-dev to the package.xml dependencies. (#1875)
This will allow the ROS buildfarm to properly install dependencies
when attempting to build this package.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
2022-06-29 11:19:08 +02:00
Wolfgang Hess f440cc21cb
Move to GitHub Actions for CI. (#1884)
This moves away from travis-ci.org which no longer works.

Signed-off-by: Wolfgang Hess <whess@fsfe.org>
2022-06-29 10:39:10 +02:00
Wolfgang Hess b8228ee656
Remove Ubuntu Xenial from CI. (#1833)
Ubuntu 16.04 has reached end of standard support.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2021-05-07 15:52:57 +02:00
Wolfgang Hess 105c034577
Prepare 2.0.0 release. (#1819)
Towards #1716.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2021-03-11 12:05:30 +01:00
Wolfgang Hess 3abea34247
Clean up the public headers in `mapping`. (#1806)
The moved headers are not used in any public API.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2021-02-15 17:07:49 +01:00
Wolfgang Hess fbcfa65230
Clean up the public headers in `common`. (#1805)
The header ceres_solver_options.h is not used as part of public
API anymore. lua_parameter_dictionary_test_helpers.h is only
used in tests.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2021-01-27 13:50:22 +01:00
Wolfgang Hess a48f12dfa3
Remove CHECK preventing the use of the IMU-based extrapolator. (#1804)
Fixes #1803.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2021-01-26 18:26:46 +01:00
Mac Mason 018dded2f9
CHECK that ThreadPool is given a positive num_threads (#1800)
Signed-off-by: Mac Mason <mac@kingseye.net>
2021-01-20 10:37:10 +01:00
Michael Grupp 802e9f131b
Clean trimming of frozen trajectory data. (#1767)
The deletion logic needs to take care of deleting all data that is
"exclusively" connected to the submaps that are to be removed. This is
achieved by looking at the data that is connected via constraints in
the graph.

Deleting a frozen trajectory (one without optimization constraints)
doesn't work that way and would leave dangling nodes in the graph.

This adds an additional logic that uses the `node_ids` field of the
submap instead of the constraints if the trajectory is frozen.

Signed-off-by: Michael Grupp <grupp@magazino.eu>
2021-01-19 19:44:18 +01:00
Wolfgang Hess 5b5f59bab6
Move more headers from mapping/ to internal. (#1796)
The moved headers are not used in any public API.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2021-01-11 13:46:33 +01:00
Wolfgang Hess fdcf0eb0df
Move PoseGraph::GetSubmapData to the PoseGraphInterface. (#1783)
Related to #1413.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-11-23 11:02:39 +01:00
Wolfgang Hess 605838855f
Removed unused code. (#1781)
Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-11-18 16:06:53 +01:00
Wolfgang Hess dddb2f1102
Improve CONTRIBUTING.md and the pull request template. (#1780)
We refer to CONTRIBUTING.md from the PR template now
which is now the single place containing all information.

Reference to the bot is removed since it is currently
not being used.

We point contributors to using clang-format.

We link to PR and code review best practices now.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-11-17 10:56:38 +01:00
Wolfgang Hess b1ce24d3f8
Clean up use of MapBuilderInterface. (#1776)
Moves options next to the interface like we do for other interfaces.
Adds a factory function to remove the need for direct use of MapBuilder.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-11-06 11:31:49 +01:00
Wolfgang Hess 38dcf65d8f
Clean up the public headers in `common`. (#1775)
In common, BlockingQueue and RateTimer are not used
in any public API and are made internal.

`common/utils.h` is unused code and removed.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-11-04 16:35:02 +01:00
Michael Grupp 6715afe70c
Optional motion-filter for adding odometry data to the pose graph. (#1757)
This introduces an option to control the amount of odometry data that
enters the pose graph by motion-filtering it. This is very useful to
bound memory when standing still for longer periods of time.

If the new option is not configured, all odometry data goes unfiltered
into the pose graph as usual.

Signed-off-by: Michael Grupp <grupp@magazino.eu>
2020-11-04 14:55:13 +01:00
Wolfgang Hess 4d90a29877
Make unusable public headers internal. (#1772)
pose_graph_data.h and io test_helpers.h are currently public,
i.e. get installed, but cannot possibly be used since they refer
to internal headers.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-11-04 12:16:51 +01:00
Wolfgang Hess e7f98f3e09
Add intensities to LocalTrajectoryBuilder3D. (#1766)
Disabled by default.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-10-26 14:47:07 +01:00
Chris Lalancette 1f69b83e8a
Minor fixes for Cartographer from ROS (#1705)
* 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
Wolfgang Hess a9ad813c26
Use intensities in `Submap3D` and `RangeDataInserter3D`. (#1765)
`Submap3D` now also stores a pointer to `IntensityHybridGrid`.
Adapted `RangeDataInserter3D` to also insert intensities.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-10-22 09:24:47 +02:00
Christian Clauss aeb8a10c01
Undefined name: preceding_comments -> preceding_comments.message. (#1720)
Signed-off-by: Christian Clauss <cclauss@me.com>
2020-10-19 14:38:41 +02:00
Wolfgang Hess d3473fca4a
Keep intensities in the voxel filter. (#1764)
Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-10-19 12:14:50 +02:00
Wolfgang Hess 952f59d499
Take intensities into account in PointCloud transforms and filters. (#1763)
Adds a new method to sensor::PointCloud, copy_if, which copies all
points satisfying a provided condition, together with the associated
intensities (if they exist).

Adapts transforms/filters to use this new method.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-10-16 10:52:28 +02:00
Wolfgang Hess 81d34ef185
Add intensity cost function to the Ceres scan matcher. (#1761)
Not yet used.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-10-14 18:04:12 +02:00
Wolfgang Hess cad3378929
Add a cost function to take intensities into account. (#1760)
Adds (optional) intensities to sensor::PointCloud and
uses it in a cost function. Not yet in use.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-10-14 11:36:47 +02:00
Wolfgang Hess ee98a92845
Add new sensor::PointCloud interface. (#1759)
These changes are necessary in order to later add intensities.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-10-13 15:57:45 +02:00
Wolfgang Hess 8ac967a50d
Add per-submap sampling. (#1758)
This changes which submaps we select to attempt loop closing.
The subsampling of candidates is changing from randomly sampling
submap and node pairs to per-submap sampling. This enforces a
better distribution of loop closure attempts across the submaps.
This sampling achieves a much better performance which indicates
that the approach used before was sub-optimal.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-10-09 09:30:27 +02:00
Wolfgang Hess ca8a866996
Constrain gravity to be positive. (#1756)
This makes sure gravity never flips the sign and becomes negative.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-10-07 11:48:53 +02:00
Wolfgang Hess 1b31c017c4
Use adaptive IMU weights in the PGO. (#1755)
This weights IMU based on the time between nodes in the
pose graph optimization.

When moving slowly or stopping, IMU weights are reduced.
This improves quality in these cases. The parameters are
changed to approximately get the same behavior while
moving as before for the examples.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-10-07 10:49:08 +02:00
Michael Grupp af00de3b3f
Don't add IMU data to 2D optimization problem. (#1754)
It was constantly added regardless of motion filtering. Since it's not
used it can be just ignored. The method still needs to be there to
satisfy the interface.

Signed-off-by: Michael Grupp <grupp@magazino.eu>
2020-10-06 19:45:03 +02:00
Michael Grupp 9675d63926
Delete submap scan matchers that are unconstrained after trimming. (#1745)
This improves the memory issue in pure localization mode as
mentioned in issue #1737.

Signed-off-by: Michael Grupp <grupp@magazino.eu>
2020-10-06 15:41:04 +02:00
Wolfgang Hess c84da8ec0f
Random voxel filtering. (#1753)
This leads to slightly slower performance but better quality.
Also replaces the VoxelFilter class by free standing functions.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-09-30 18:32:39 +02:00
Wolfgang Hess 1ad6398bce
Depend on libceres-dev in package.xml for ROS. (#1750)
This changes cartographer_ros to no longer build
Ceres and instead uses libceres-dev for which a
suitable version is provided by ROS for Kinetic.

Related to #1705.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-09-24 11:32:40 +02:00
Wolfgang Hess c5416068dd
Move proto files out of 2d/3d directories. (#1749)
This is to make it possible to use the proto definitions
from Python where the directory structure otherwise
prevents them from being imported in the usual way.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-09-14 12:17:15 +02:00
Yannic f2035b0877
Upgrade Protobuf to v3.13.0 (#1746)
This makes cartographer compatible with
`--incompatible_blacklisted_protos_requires_proto_info`.
See https://github.com/bazelbuild/bazel/issues/11694

Signed-off-by: Yannic Bonenberger <contact@yannic-bonenberger.com>
2020-09-14 11:42:59 +02:00
Sean Yen 2137b8477e
Updated the ROS on Windows feed URL (#1743)
Signed-off-by: seanyen <seanyen@microsoft.com>
2020-08-31 11:23:47 +02:00
Wolfgang Hess a28e24a37d
Remove unused and untested CropTimedPointCloud. (#1744)
Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-08-28 11:23:50 +02:00
Wolfgang Hess a20db758cd
Add intensity data to TimedPointCloudData. (#1742)
Adds a new field intensities to TimedPointCloudData.
RangeDataCollator now also takes intensities into account.
AddRangeData now takes a point cloud by value instead of
const reference as we would later make a copy of it anyway.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-08-28 10:12:04 +02:00
Wolfgang Hess da779339fa
Add IntensityHybridGrid. (#1739)
Adds a new structure IntensityHybridGrid, similar to HybridGrid
but which stores intensities instead of probabilities.
InterpolatedGrid is adapted to handle both types of HybridGrids.

Signed-off-by: Wolfgang Hess <whess@lyft.com>
2020-08-26 14:35:20 +02:00