#include <pose_graph_stub.h>
Public Member Functions | |
std::vector< Constraint > | constraints () const override |
void | DeleteTrajectory (int trajectory_id) override |
mapping::MapById < mapping::SubmapId, SubmapData > | GetAllSubmapData () const override |
mapping::MapById < mapping::SubmapId, SubmapPose > | GetAllSubmapPoses () const override |
std::map< std::string, transform::Rigid3d > | GetLandmarkPoses () const override |
transform::Rigid3d | GetLocalToGlobalTransform (int trajectory_id) const override |
std::map< int, mapping::PoseGraphInterface::TrajectoryData > | GetTrajectoryData () const override |
mapping::MapById < mapping::NodeId, mapping::TrajectoryNodePose > | GetTrajectoryNodePoses () const override |
mapping::MapById < mapping::NodeId, mapping::TrajectoryNode > | GetTrajectoryNodes () const override |
std::map< int, TrajectoryState > | GetTrajectoryStates () const override |
bool | IsTrajectoryFinished (int trajectory_id) const override |
bool | IsTrajectoryFrozen (int trajectory_id) const override |
PoseGraphStub & | operator= (const PoseGraphStub &) |
PoseGraphStub (std::shared_ptr<::grpc::Channel > client_channel, const std::string &client_id) | |
PoseGraphStub (const PoseGraphStub &) | |
void | RunFinalOptimization () override |
void | SetGlobalSlamOptimizationCallback (GlobalSlamOptimizationCallback callback) override |
void | SetLandmarkPose (const std::string &landmark_id, const transform::Rigid3d &global_pose, const bool frozen=false) override |
mapping::proto::PoseGraph | ToProto (bool include_unfinished_submaps) const override |
Private Attributes | |
std::shared_ptr<::grpc::Channel > | client_channel_ |
const std::string | client_id_ |
Definition at line 26 of file pose_graph_stub.h.
cartographer::cloud::PoseGraphStub::PoseGraphStub | ( | std::shared_ptr<::grpc::Channel > | client_channel, |
const std::string & | client_id | ||
) |
Definition at line 39 of file pose_graph_stub.cc.
std::vector< mapping::PoseGraphInterface::Constraint > cartographer::cloud::PoseGraphStub::constraints | ( | ) | const [override, virtual] |
Implements cartographer::mapping::PoseGraphInterface.
Definition at line 198 of file pose_graph_stub.cc.
void cartographer::cloud::PoseGraphStub::DeleteTrajectory | ( | int | trajectory_id | ) | [override, virtual] |
Implements cartographer::mapping::PoseGraphInterface.
Definition at line 153 of file pose_graph_stub.cc.
mapping::MapById< mapping::SubmapId, mapping::PoseGraphInterface::SubmapData > cartographer::cloud::PoseGraphStub::GetAllSubmapData | ( | ) | const [override, virtual] |
Implements cartographer::mapping::PoseGraphInterface.
Definition at line 51 of file pose_graph_stub.cc.
mapping::MapById< mapping::SubmapId, mapping::PoseGraphInterface::SubmapPose > cartographer::cloud::PoseGraphStub::GetAllSubmapPoses | ( | ) | const [override, virtual] |
Implements cartographer::mapping::PoseGraphInterface.
Definition at line 56 of file pose_graph_stub.cc.
std::map< std::string, transform::Rigid3d > cartographer::cloud::PoseGraphStub::GetLandmarkPoses | ( | ) | const [override, virtual] |
Implements cartographer::mapping::PoseGraphInterface.
Definition at line 127 of file pose_graph_stub.cc.
transform::Rigid3d cartographer::cloud::PoseGraphStub::GetLocalToGlobalTransform | ( | int | trajectory_id | ) | const [override, virtual] |
Implements cartographer::mapping::PoseGraphInterface.
Definition at line 74 of file pose_graph_stub.cc.
std::map< int, mapping::PoseGraphInterface::TrajectoryData > cartographer::cloud::PoseGraphStub::GetTrajectoryData | ( | ) | const [override, virtual] |
Implements cartographer::mapping::PoseGraphInterface.
Definition at line 193 of file pose_graph_stub.cc.
mapping::MapById< mapping::NodeId, mapping::TrajectoryNodePose > cartographer::cloud::PoseGraphStub::GetTrajectoryNodePoses | ( | ) | const [override, virtual] |
Implements cartographer::mapping::PoseGraphInterface.
Definition at line 90 of file pose_graph_stub.cc.
mapping::MapById< mapping::NodeId, mapping::TrajectoryNode > cartographer::cloud::PoseGraphStub::GetTrajectoryNodes | ( | ) | const [override, virtual] |
Implements cartographer::mapping::PoseGraphInterface.
Definition at line 85 of file pose_graph_stub.cc.
std::map< int, mapping::PoseGraphInterface::TrajectoryState > cartographer::cloud::PoseGraphStub::GetTrajectoryStates | ( | ) | const [override, virtual] |
Implements cartographer::mapping::PoseGraphInterface.
Definition at line 114 of file pose_graph_stub.cc.
bool cartographer::cloud::PoseGraphStub::IsTrajectoryFinished | ( | int | trajectory_id | ) | const [override, virtual] |
Implements cartographer::mapping::PoseGraphInterface.
Definition at line 168 of file pose_graph_stub.cc.
bool cartographer::cloud::PoseGraphStub::IsTrajectoryFrozen | ( | int | trajectory_id | ) | const [override, virtual] |
Implements cartographer::mapping::PoseGraphInterface.
Definition at line 180 of file pose_graph_stub.cc.
PoseGraphStub& cartographer::cloud::PoseGraphStub::operator= | ( | const PoseGraphStub & | ) |
void cartographer::cloud::PoseGraphStub::RunFinalOptimization | ( | ) | [override, virtual] |
Implements cartographer::mapping::PoseGraphInterface.
Definition at line 43 of file pose_graph_stub.cc.
void cartographer::cloud::PoseGraphStub::SetGlobalSlamOptimizationCallback | ( | GlobalSlamOptimizationCallback | callback | ) | [override, virtual] |
Implements cartographer::mapping::PoseGraphInterface.
Definition at line 212 of file pose_graph_stub.cc.
void cartographer::cloud::PoseGraphStub::SetLandmarkPose | ( | const std::string & | landmark_id, |
const transform::Rigid3d & | global_pose, | ||
const bool | frozen = false |
||
) | [override, virtual] |
Implements cartographer::mapping::PoseGraphInterface.
Definition at line 141 of file pose_graph_stub.cc.
mapping::proto::PoseGraph cartographer::cloud::PoseGraphStub::ToProto | ( | bool | include_unfinished_submaps | ) | const [override, virtual] |
Implements cartographer::mapping::PoseGraphInterface.
Definition at line 207 of file pose_graph_stub.cc.
std::shared_ptr<::grpc::Channel> cartographer::cloud::PoseGraphStub::client_channel_ [private] |
Definition at line 62 of file pose_graph_stub.h.
const std::string cartographer::cloud::PoseGraphStub::client_id_ [private] |
Definition at line 63 of file pose_graph_stub.h.