Christoph Schütte
ded778cd34
Implementation of Add/FinishTrajectoryHandler. ( #732 )
2017-12-05 16:36:54 +01:00
Christoph Schütte
697be9a77b
Add MappingServer skeleton. ( #730 )
2017-12-05 14:46:25 +01:00
gaschler
49d55d97c1
Test MapBuilder ( #731 )
2017-12-05 14:04:10 +01:00
gaschler
b77a1f2178
Remove implementation from TrajectoryBuilder. ( #728 )
...
To simplify the implementation of a gRPC-based trajectory builder,
this moves the existing implementation to CollatedTrajectoryBuilder
and organizes the interface by sensor type.
2017-12-05 11:05:05 +01:00
gaschler
ee9c61a736
Move LocalSlamResultCallback to AddTrajectory ( #724 )
2017-12-04 22:41:38 +01:00
Christoph Schütte
0315acf050
Add Slides for Cartographer open house X ( #725 )
2017-12-04 20:08:31 +01:00
Christoph Schütte
e950062367
Add Cartographer service proto. ( #723 )
2017-12-04 17:30:42 +01:00
Christoph Schütte
32a8364b98
Implement bi-directional streaming RPCs. ( #720 )
...
[RFC=0002](https://github.com/googlecartographer/rfcs/blob/master/text/0002-cloud-based-mapping-1.md )
2017-12-04 15:28:19 +01:00
gaschler
1ff8243802
Test RotationDeltaCostFunctor ( #721 )
2017-12-01 09:25:15 +01:00
gaschler
63e901d276
Create AutoDiffCostFunction in cost functions. ( #718 )
...
Creating a ceres::AutoDiffCostFunction requires specifying numbers
of residuals and variables, so it is safer to implement this within
the cost functions, which know best.
2017-11-30 15:41:57 +01:00
gaschler
85bfb888eb
Interface for MapBuilder ( #715 )
...
Defines an interface for MapBuilder that can be used to implement a gRPC stub.
[RFC=0002](https://github.com/googlecartographer/rfcs/blob/master/text/0002-cloud-based-mapping-1.md )
2017-11-30 14:41:48 +01:00
Christoph Schütte
5147af9763
Implement unary gRPC calls. ( #719 )
...
[RFC=0002](https://github.com/googlecartographer/rfcs/blob/master/text/0002-cloud-based-mapping-1.md )
2017-11-30 13:18:16 +01:00
gaschler
24f253a2aa
Remove GetBlockingTrajectoryId ( #714 )
2017-11-30 12:04:14 +01:00
Christoph Schütte
999820d845
Implement shared ExecutionContext for handlers. ( #716 )
...
[RFC=0002](https://github.com/googlecartographer/rfcs/blob/master/text/0002-cloud-based-mapping-1.md )
2017-11-29 14:05:31 +01:00
Christoph Schütte
3a46804393
Implement end-to-end client streaming RPC. ( #713 )
...
[RFC=0002](https://github.com/googlecartographer/rfcs/blob/master/text/0002-cloud-based-mapping-1.md )
2017-11-29 10:40:26 +01:00
Christoph Schütte
02359a98ae
Implement connection establishment and server startup and shutdown. ( #712 )
...
[RFC=0002](https://github.com/googlecartographer/rfcs/blob/master/text/0002-cloud-based-mapping-1.md )
2017-11-28 10:50:30 +01:00
Jihoon Lee
88805a301d
Trim all submaps when pure localization trajectory is finished. ( #563 )
...
Fixes #560
based on #562
2017-11-28 10:21:55 +01:00
Juraj Oršulić
bebe021b04
Serialize fixed frame pose data. ( #689 )
...
Similar to #666 and #548 .
2017-11-28 09:44:35 +01:00
gaschler
1c7183d5c4
VoxelFilter for TimedPointCloud, Filter method. ( #710 )
...
This makes the VoxelFilter ready for TimedPointCloud and
per-point unwarping.
2017-11-27 15:12:07 +01:00
gaschler
c292d76f86
Test ImuTracker ( #711 )
...
Adds unit tests for ImuTracker to cover filtering of the gravity
vector and tracking angular velocity.
2017-11-27 14:46:32 +01:00
Christoph Schütte
cd289bbcee
Introduce RPC class and start wiring up in Service ( #701 )
...
[RFC=0002](https://github.com/googlecartographer/rfcs/blob/master/text/0002-cloud-based-mapping-1.md )
2017-11-24 23:41:58 +01:00
Christoph Schütte
f6a7dfd07b
Update Travis Docker file for Trusty to build gRPC code ( #709 )
...
[RFC=0002](https://github.com/googlecartographer/rfcs/blob/master/text/0002-cloud-based-mapping-1.md )
2017-11-24 22:08:51 +01:00
Wolfgang Hess
7e82ac3bbf
Make IMU cost functions internal. ( #708 )
...
[RFC=0003](https://github.com/googlecartographer/rfcs/blob/master/text/0003-internal-headers.md )
2017-11-24 15:29:48 +01:00
Wolfgang Hess
79b83b92b2
Make the MotionFilter internal. ( #707 )
...
Also moves it from mapping_3d to mapping since it is used
in both 2D and 3D SLAM.
[RFC=0003](https://github.com/googlecartographer/rfcs/blob/master/text/0003-internal-headers.md )
2017-11-24 14:01:07 +01:00
gaschler
0084f14c1c
CeresScanMatcher target_translation ( #702 )
...
For its translation cost function, CeresScanMatcher now takes
a target translation as an argument instead of a pose, which
was confusing.
2017-11-24 12:26:14 +01:00
Wolfgang Hess
0819e52a9c
Make the LocalTrajectoryBuilders internal. ( #704 )
...
[RFC=0003](https://github.com/googlecartographer/rfcs/blob/master/text/0003-internal-headers.md )
2017-11-24 10:39:12 +01:00
Wolfgang Hess
8e6101de5c
Make the OccupiedSpaceCostFunction internal. ( #703 )
...
[RFC=0003](https://github.com/googlecartographer/rfcs/blob/master/text/0003-internal-headers.md )
2017-11-23 18:04:36 +01:00
Wolfgang Hess
70a0f41364
Remove unused code. ( #699 )
2017-11-23 16:39:55 +01:00
gaschler
9bfc52d878
Rename arguments of CostFunctors to target_ ( #700 )
...
Rename constant targets of cost functors to target_*.
Pass only translation to Translation cost functors.
2017-11-23 16:04:49 +01:00
Christoph Schütte
38eeb17164
Introduce gRPC server, service and rpc handlers ( #692 )
2017-11-23 15:37:30 +01:00
Wolfgang Hess
ec034b13bc
Do not install global_trajectory_builder.h. ( #698 )
...
This moves the global_trajectory_builder.h header under
cartographer/internal and changes the CMakeLists.txt to
not install internal headers.
[RFC=0003](https://github.com/googlecartographer/rfcs/blob/master/text/0003-internal-headers.md )
2017-11-23 14:47:29 +01:00
Juraj Oršulić
8f9f1cf44e
Fix debug build ( #697 )
...
Similar to #418 .
2017-11-23 14:20:01 +01:00
gaschler
147c8166b6
ImuTracker uses conjugate. ( #693 )
...
Normalized quaternions can be inverted with conjugate, which is faster.
The motivation for optimizing ImuTracker::Advance is that
per-point unwarping will call this for every point.
2017-11-23 13:50:44 +01:00
gaschler
a8bd98680e
ExtrapolatePose uses fewer transforms. ( #694 )
...
ExtrapolatePose avoids conversion to Rigid3d and computes translation
and rotation directly, which is faster.
Per-point unwarping will call this function for every point, so we
optimize it.
2017-11-23 12:27:26 +01:00
Christoph Schütte
41bb8be0fb
Prepare 0.3.0 release ( #696 )
2017-11-23 10:27:08 +01:00
Christoph Schütte
c233aaaac8
Update CMakeLists.txt to preprare for gRPC deps. ( #691 )
2017-11-22 16:29:01 +01:00
Juraj Oršulić
31f28b5097
Remove PoseEstimate. ( #670 )
...
Replaces #620 .
Depends on switching `cartographer_ros` to use the new callback API for handling the last scan and pose estimate (googlecartographer/cartographer_ros#594 ).
2017-11-17 16:47:06 +01:00
Wolfgang Hess
aba4575d93
Rename 'submap_transforms' to follow terminology. ( #688 )
...
https://google-cartographer.readthedocs.io/en/latest/terminology.html
Related to #602 .
2017-11-17 13:13:45 +01:00
Christoph Schütte
b91ff8fe44
Extrapolate poses for ground truth relations. ( #687 )
2017-11-17 12:27:31 +01:00
Wolfgang Hess
055728af93
Rename options for consistency. ( #686 )
...
"scan" is better named "node" if it refers to a node in global SLAM.
"penalty factor" is renamed "weight" for consistency with other similar options.
"scans_per_accumulation" is renamed "num_accumulated_range_data" to match the code and since the accumulated data is not called "scan".
2017-11-17 10:52:22 +01:00
Holger Rapp
5ee830e8cc
Cleanup and new features in Image code. ( #685 )
...
- Removes stride_, since we know for a fact that it is always width * 4.
- Adds a constructor from a cairo surface.
- Adds a function that rotates the image by 90 degrees.
This is in preparation of adding a tool that can generate an image from a .pbstream.
2017-11-16 17:05:18 +01:00
Holger Rapp
0b4e7a9443
Refactor image related code. ( #684 )
...
- Take immutable parameter as const ref instead of pointer.
- make kCairoFormat a global constant, since it is defined in many places in cartographer and cartographer_ros, but we rely on it actually always being the same value.
2017-11-16 15:07:05 +01:00
gaschler
b9015f33a7
Filter early in AddRangeData. ( #681 )
...
Filter earlier in 3D.
Combine two transforms to one in 2D.
2017-11-16 13:35:44 +01:00
Wolfgang Hess
16d62f45f0
Rename sparse_pose_graph options. ( #682 )
...
The default pose graph configuration is now included as "pose_graph.lua"
and available as POSE_GRAPH.
[RFC=0001](https://github.com/googlecartographer/rfcs/blob/master/text/0001-renaming-sparse-pose-graph.md )
2017-11-16 11:48:25 +01:00
jie
a08a370ef3
Check if filtered point clouds are empty. ( #664 )
...
The point cloud will be filtered by MaxRangeFilter before doing scan matching. For some special cases, the filtered point cloud maybe empty, it will cause crash:
real_time_correlative_scan_matcher.cc:159 Check failed: candidate.score > 0.f (nan vs. 0)
This PR fixed this bug, check the point cloud size before scan matching, return false for empty point cloud.
2017-11-16 09:56:01 +01:00
Tobias Ulvgård
b2e948d8a2
Fix typo in CMake install script ( #683 )
...
Fixes a typo in CMake scripts when installing generated header files.
2017-11-16 09:16:34 +01:00
Wolfgang Hess
bdca2095c0
Rename proto::SparsePoseGraph. ( #680 )
...
[RFC=0001](https://github.com/googlecartographer/rfcs/blob/master/text/0001-renaming-sparse-pose-graph.md )
2017-11-15 14:58:49 +01:00
Wolfgang Hess
c866707013
Fix the configuration documentation script. ( #679 )
...
Fixes #652 .
Now also includes documentation for one option that was "repeated"
and not "optional".
2017-11-15 14:17:33 +01:00
Wolfgang Hess
c25379cd20
Rename mapping_{2,3}d::SparsePoseGraph. ( #678 )
...
[RFC=0001](https://github.com/googlecartographer/rfcs/blob/master/text/0001-renaming-sparse-pose-graph.md )
2017-11-15 13:50:18 +01:00
Wolfgang Hess
8c114d6eaf
Rename mapping::SparsePoseGraph. ( #677 )
...
[RFC=0001](https://github.com/googlecartographer/rfcs/blob/master/text/0001-renaming-sparse-pose-graph.md )
2017-11-15 12:06:19 +01:00