17 #ifndef CARTOGRAPHER_MAPPING_SPARSE_POSE_GRAPH_H_ 18 #define CARTOGRAPHER_MAPPING_SPARSE_POSE_GRAPH_H_ 22 #include <unordered_map> 29 #include "cartographer/mapping/proto/sparse_pose_graph.pb.h" 30 #include "cartographer/mapping/proto/sparse_pose_graph_options.pb.h" 38 common::LuaParameterDictionary*
const parameter_dictionary);
72 virtual void AddTrimmer(std::unique_ptr<PoseGraphTrimmer> trimmer) = 0;
95 proto::SparsePoseGraph
ToProto();
104 #endif // CARTOGRAPHER_MAPPING_SPARSE_POSE_GRAPH_H_ virtual transform::Rigid3d GetSubmapTransform(const SubmapId &submap_id)=0
virtual std::vector< std::vector< TrajectoryNode > > GetTrajectoryNodes()=0
virtual void RunFinalOptimization()=0
virtual void AddTrimmer(std::unique_ptr< PoseGraphTrimmer > trimmer)=0
transform::Rigid3d zbar_ij
virtual ~SparsePoseGraph()
proto::SparsePoseGraph ToProto()
SparsePoseGraph & operator=(const SparsePoseGraph &)=delete
virtual std::vector< Constraint > constraints()=0
enum cartographer::mapping::SparsePoseGraph::Constraint::Tag tag
virtual int num_submaps(int trajectory_id)=0
virtual std::vector< std::vector< int > > GetConnectedTrajectories()=0
virtual transform::Rigid3d GetLocalToGlobalTransform(int trajectory_id)=0
double translation_weight
proto::SparsePoseGraphOptions CreateSparsePoseGraphOptions(common::LuaParameterDictionary *const parameter_dictionary)