26 common::make_unique<LocalSlamResult2D>(*
this));
31 DCHECK(dynamic_cast<PoseGraph2D*>(pose_graph));
34 std::vector<std::shared_ptr<const mapping::Submap2D>> submaps;
39 ->AddNode(std::make_shared<const mapping::TrajectoryNode::Data>(
41 trajectory_id, submaps);
PoseGraph::Constraint::Tag FromProto(const proto::PoseGraph::Constraint::Tag &proto)
SubmapController< mapping::Submap2D > * submap_controller_
const mapping::proto::LocalSlamResultData local_slam_result_data_
void AddToTrajectoryBuilder(TrajectoryBuilderInterface *const trajectory_builder) override
virtual void AddLocalSlamResultData(std::unique_ptr< mapping::LocalSlamResultData > local_slam_result_data)=0
void AddToPoseGraph(int trajectory_id, PoseGraph *pose_graph) const override