22 namespace mapping_3d {
25 const proto::LocalTrajectoryBuilderOptions& options,
27 : trajectory_id_(trajectory_id),
38 const int submap_index) {
46 const Eigen::Vector3d& angular_velocity) {
56 auto insertion_result =
59 if (insertion_result ==
nullptr) {
64 insertion_result->time, insertion_result->range_data_in_tracking,
66 insertion_result->matching_submap, insertion_result->insertion_submaps);
void AddImuData(common::Time time, const Eigen::Vector3d &linear_acceleration, const Eigen::Vector3d &angular_velocity) override
~GlobalTrajectoryBuilder() override
GlobalTrajectoryBuilder(const proto::LocalTrajectoryBuilderOptions &options, int trajectory_id, mapping_3d::SparsePoseGraph *sparse_pose_graph)
int num_submaps() override
std::unique_ptr< SparsePoseGraph > sparse_pose_graph_
void AddRangefinderData(common::Time time, const Eigen::Vector3f &origin, const sensor::PointCloud &ranges) override
SubmapData GetSubmapData(int submap_index) override
UniversalTimeScaleClock::time_point Time
void AddImuData(int trajectory_id, common::Time time, const Eigen::Vector3d &linear_acceleration, const Eigen::Vector3d &angular_velocity)
std::unique_ptr< LocalTrajectoryBuilderInterface > local_trajectory_builder_
std::unique_ptr< LocalTrajectoryBuilderInterface > CreateLocalTrajectoryBuilder(const proto::LocalTrajectoryBuilderOptions &local_trajectory_builder_options)
std::vector< Eigen::Vector3f > PointCloud
const PoseEstimate & pose_estimate() const override
transform::Rigid3d GetSubmapTransform(const mapping::SubmapId &submap_id) EXCLUDES(mutex_) override
mapping_3d::SparsePoseGraph *const sparse_pose_graph_
int num_submaps(int trajectory_id) EXCLUDES(mutex_) override
std::unique_ptr< KalmanLocalTrajectoryBuilder > local_trajectory_builder_
void AddScan(common::Time time, const sensor::RangeData &range_data_in_tracking, const transform::Rigid3d &pose, int trajectory_id, const Submap *matching_submap, const std::vector< const Submap * > &insertion_submaps) EXCLUDES(mutex_)
void AddOdometerData(common::Time time, const transform::Rigid3d &pose) override