|
void | AddFixedFramePoseData (int trajectory_id, const sensor::FixedFramePoseData &fixed_frame_pose_data) override EXCLUDES(mutex_) |
|
void | AddImuData (int trajectory_id, const sensor::ImuData &imu_data) override EXCLUDES(mutex_) |
|
void | AddLandmarkData (int trajectory_id, const sensor::LandmarkData &landmark_data) override EXCLUDES(mutex_) |
|
NodeId | AddNode (std::shared_ptr< const TrajectoryNode::Data > constant_data, int trajectory_id, const std::vector< std::shared_ptr< const Submap2D >> &insertion_submaps) EXCLUDES(mutex_) |
|
void | AddNodeFromProto (const transform::Rigid3d &global_pose, const proto::Node &node) override |
|
void | AddNodeToSubmap (const NodeId &node_id, const SubmapId &submap_id) override |
|
void | AddOdometryData (int trajectory_id, const sensor::OdometryData &odometry_data) override EXCLUDES(mutex_) |
|
void | AddSerializedConstraints (const std::vector< Constraint > &constraints) override |
|
void | AddSubmapFromProto (const transform::Rigid3d &global_submap_pose, const proto::Submap &submap) override |
|
void | AddTrimmer (std::unique_ptr< PoseGraphTrimmer > trimmer) override |
|
std::vector< Constraint > | constraints () const override EXCLUDES(mutex_) |
|
void | FinishTrajectory (int trajectory_id) override |
|
void | FreezeTrajectory (int trajectory_id) override |
|
MapById< SubmapId, PoseGraphInterface::SubmapData > | GetAllSubmapData () const EXCLUDES(mutex_) override |
|
MapById< SubmapId, SubmapPose > | GetAllSubmapPoses () const EXCLUDES(mutex_) override |
|
std::vector< std::vector< int > > | GetConnectedTrajectories () const override |
|
sensor::MapByTime< sensor::FixedFramePoseData > | GetFixedFramePoseData () const override EXCLUDES(mutex_) |
|
sensor::MapByTime< sensor::ImuData > | GetImuData () const override EXCLUDES(mutex_) |
|
transform::Rigid3d | GetInterpolatedGlobalTrajectoryPose (int trajectory_id, const common::Time time) const REQUIRES(mutex_) |
|
std::map< std::string, PoseGraph::LandmarkNode > | GetLandmarkNodes () const override EXCLUDES(mutex_) |
|
std::map< std::string, transform::Rigid3d > | GetLandmarkPoses () const override EXCLUDES(mutex_) |
|
transform::Rigid3d | GetLocalToGlobalTransform (int trajectory_id) const EXCLUDES(mutex_) override |
|
sensor::MapByTime< sensor::OdometryData > | GetOdometryData () const override EXCLUDES(mutex_) |
|
PoseGraphInterface::SubmapData | GetSubmapData (const SubmapId &submap_id) const EXCLUDES(mutex_) override |
|
std::map< int, TrajectoryData > | GetTrajectoryData () const override EXCLUDES(mutex_) |
|
MapById< NodeId, TrajectoryNodePose > | GetTrajectoryNodePoses () const override EXCLUDES(mutex_) |
|
MapById< NodeId, TrajectoryNode > | GetTrajectoryNodes () const override EXCLUDES(mutex_) |
|
bool | IsTrajectoryFinished (int trajectory_id) const override REQUIRES(mutex_) |
|
bool | IsTrajectoryFrozen (int trajectory_id) const override REQUIRES(mutex_) |
|
PoseGraph2D & | operator= (const PoseGraph2D &)=delete |
|
| PoseGraph2D (const proto::PoseGraphOptions &options, std::unique_ptr< optimization::OptimizationProblem2D > optimization_problem, common::ThreadPool *thread_pool) |
|
| PoseGraph2D (const PoseGraph2D &)=delete |
|
void | RunFinalOptimization () override |
|
void | SetGlobalSlamOptimizationCallback (PoseGraphInterface::GlobalSlamOptimizationCallback callback) override |
|
void | SetInitialTrajectoryPose (int from_trajectory_id, int to_trajectory_id, const transform::Rigid3d &pose, const common::Time time) override EXCLUDES(mutex_) |
|
void | SetLandmarkPose (const std::string &landmark_id, const transform::Rigid3d &global_pose) override EXCLUDES(mutex_) |
|
void | SetTrajectoryDataFromProto (const proto::TrajectoryData &data) override |
|
| ~PoseGraph2D () override |
|
PoseGraph & | operator= (const PoseGraph &)=delete |
|
| PoseGraph () |
|
| PoseGraph (const PoseGraph &)=delete |
|
virtual void | SetTrajectoryDataFromProto (const mapping::proto::TrajectoryData &data)=0 |
|
proto::PoseGraph | ToProto () const override |
|
| ~PoseGraph () override |
|
PoseGraphInterface & | operator= (const PoseGraphInterface &)=delete |
|
| PoseGraphInterface () |
|
| PoseGraphInterface (const PoseGraphInterface &)=delete |
|
virtual | ~PoseGraphInterface () |
|
|
void | AddTrajectoryIfNeeded (int trajectory_id) REQUIRES(mutex_) |
|
void | AddWorkItem (const std::function< void()> &work_item) REQUIRES(mutex_) |
|
void | ComputeConstraint (const NodeId &node_id, const SubmapId &submap_id) REQUIRES(mutex_) |
|
void | ComputeConstraintsForNode (const NodeId &node_id, std::vector< std::shared_ptr< const Submap2D >> insertion_submaps, bool newly_finished_submap) REQUIRES(mutex_) |
|
void | ComputeConstraintsForOldNodes (const SubmapId &submap_id) REQUIRES(mutex_) |
|
transform::Rigid3d | ComputeLocalToGlobalTransform (const MapById< SubmapId, optimization::SubmapSpec2D > &global_submap_poses, int trajectory_id) const REQUIRES(mutex_) |
|
void | DispatchOptimization () REQUIRES(mutex_) |
|
common::Time | GetLatestNodeTime (const NodeId &node_id, const SubmapId &submap_id) const REQUIRES(mutex_) |
|
MapById< SubmapId, PoseGraphInterface::SubmapData > | GetSubmapDataUnderLock () const REQUIRES(mutex_) |
|
SubmapData | GetSubmapDataUnderLock (const SubmapId &submap_id) const REQUIRES(mutex_) |
|
std::unique_ptr< std::deque< std::function< void()> > > work_queue_ | GUARDED_BY (mutex_) |
|
std::unordered_map< int, std::unique_ptr< common::FixedRatioSampler > > global_localization_samplers_ | GUARDED_BY (mutex_) |
|
int num_nodes_since_last_loop_closure_ | GUARDED_BY (mutex_)=0 |
|
bool run_loop_closure_ | GUARDED_BY (mutex_) |
|
constraints::ConstraintBuilder2D constraint_builder_ | GUARDED_BY (mutex_) |
|
std::vector< Constraint > constraints_ | GUARDED_BY (mutex_) |
|
MapById< SubmapId, InternalSubmapData > submap_data_ | GUARDED_BY (mutex_) |
|
MapById< NodeId, TrajectoryNode > trajectory_nodes_ | GUARDED_BY (mutex_) |
|
int num_trajectory_nodes_ | GUARDED_BY (mutex_)=0 |
|
MapById< SubmapId, optimization::SubmapSpec2D > global_submap_poses_ | GUARDED_BY (mutex_) |
|
std::map< std::string, PoseGraph::LandmarkNode > landmark_nodes_ | GUARDED_BY (mutex_) |
|
std::vector< std::unique_ptr< PoseGraphTrimmer > > trimmers_ | GUARDED_BY (mutex_) |
|
std::set< int > frozen_trajectories_ | GUARDED_BY (mutex_) |
|
std::set< int > finished_trajectories_ | GUARDED_BY (mutex_) |
|
std::map< int, InitialTrajectoryPose > initial_trajectory_poses_ | GUARDED_BY (mutex_) |
|
void | HandleWorkQueue (const constraints::ConstraintBuilder2D::Result &result) REQUIRES(mutex_) |
|
std::vector< SubmapId > | InitializeGlobalSubmapPoses (int trajectory_id, const common::Time time, const std::vector< std::shared_ptr< const Submap2D >> &insertion_submaps) REQUIRES(mutex_) |
|
void | RunOptimization () EXCLUDES(mutex_) |
|
void | UpdateTrajectoryConnectivity (const Constraint &constraint) REQUIRES(mutex_) |
|
void | WaitForAllComputations () EXCLUDES(mutex_) |
|
Definition at line 60 of file pose_graph_2d.h.