17 #ifndef CARTOGRAPHER_CLOUD_INTERNAL_CLIENT_POSE_GRAPH_STUB_H_ 18 #define CARTOGRAPHER_CLOUD_INTERNAL_CLIENT_POSE_GRAPH_STUB_H_ 21 #include "grpc++/grpc++.h" 28 PoseGraphStub(std::shared_ptr<::grpc::Channel> client_channel);
39 int trajectory_id)
const override;
51 std::vector<Constraint>
constraints()
const override;
52 mapping::proto::PoseGraph
ToProto()
const override;
63 #endif // CARTOGRAPHER_CLOUD_INTERNAL_CLIENT_POSE_GRAPH_STUB_H_ transform::Rigid3d GetLocalToGlobalTransform(int trajectory_id) const override
bool IsTrajectoryFrozen(int trajectory_id) const override
PoseGraphStub & operator=(const PoseGraphStub &)=delete
std::vector< Constraint > constraints() const override
void SetGlobalSlamOptimizationCallback(GlobalSlamOptimizationCallback callback) override
void RunFinalOptimization() override
std::function< void(const std::map< int, SubmapId > &, const std::map< int, NodeId > &)> GlobalSlamOptimizationCallback
std::map< std::string, transform::Rigid3d > GetLandmarkPoses() const override
std::map< int, mapping::PoseGraphInterface::TrajectoryData > GetTrajectoryData() const override
bool IsTrajectoryFinished(int trajectory_id) const override
mapping::MapById< mapping::NodeId, mapping::TrajectoryNodePose > GetTrajectoryNodePoses() const override
mapping::MapById< mapping::SubmapId, SubmapData > GetAllSubmapData() const override
PoseGraphStub(std::shared_ptr<::grpc::Channel > client_channel)
void SetLandmarkPose(const std::string &landmark_id, const transform::Rigid3d &global_pose) override
mapping::MapById< mapping::SubmapId, SubmapPose > GetAllSubmapPoses() const override
std::shared_ptr<::grpc::Channel > client_channel_
mapping::MapById< mapping::NodeId, mapping::TrajectoryNode > GetTrajectoryNodes() const override
mapping::proto::PoseGraph ToProto() const override