#include <optimization_problem_2d.h>
Public Member Functions | |
void | AddImuData (int trajectory_id, const sensor::ImuData &imu_data) override |
void | AddOdometryData (int trajectory_id, const sensor::OdometryData &odometry_data) override |
void | AddSubmap (int trajectory_id, const transform::Rigid2d &global_submap_pose) override |
void | AddTrajectoryNode (int trajectory_id, const NodeSpec2D &node_data) override |
const sensor::MapByTime< sensor::ImuData > & | imu_data () const override |
void | InsertSubmap (const SubmapId &submap_id, const transform::Rigid2d &global_submap_pose) override |
void | InsertTrajectoryNode (const NodeId &node_id, const NodeSpec2D &node_data) override |
const std::map< std::string, transform::Rigid3d > & | landmark_data () const override |
const MapById< NodeId, NodeSpec2D > & | node_data () const override |
const sensor::MapByTime< sensor::OdometryData > & | odometry_data () const override |
OptimizationProblem2D & | operator= (const OptimizationProblem2D &)=delete |
OptimizationProblem2D (const optimization::proto::OptimizationProblemOptions &options) | |
OptimizationProblem2D (const OptimizationProblem2D &)=delete | |
void | SetMaxNumIterations (int32 max_num_iterations) override |
void | Solve (const std::vector< Constraint > &constraints, const std::set< int > &frozen_trajectories, const std::map< std::string, LandmarkNode > &landmark_nodes) override |
const MapById< SubmapId, SubmapSpec2D > & | submap_data () const override |
void | TrimSubmap (const SubmapId &submap_id) override |
void | TrimTrajectoryNode (const NodeId &node_id) override |
~OptimizationProblem2D () | |
Public Member Functions inherited from cartographer::mapping::optimization::OptimizationProblemInterface< NodeSpec2D, SubmapSpec2D, transform::Rigid2d > | |
OptimizationProblemInterface & | operator= (const OptimizationProblemInterface &)=delete |
OptimizationProblemInterface () | |
OptimizationProblemInterface (const OptimizationProblemInterface &)=delete | |
virtual void | Solve (const std::vector< Constraint > &constraints, const std::set< int > &frozen_trajectories, const std::map< std::string, LandmarkNode > &landmark_nodes)=0 |
virtual | ~OptimizationProblemInterface () |
Private Member Functions | |
std::unique_ptr< transform::Rigid3d > | CalculateOdometryBetweenNodes (int trajectory_id, const NodeSpec2D &first_node_data, const NodeSpec2D &second_node_data) const |
std::unique_ptr< transform::Rigid3d > | InterpolateOdometry (int trajectory_id, common::Time time) const |
Private Attributes | |
sensor::MapByTime< sensor::ImuData > | imu_data_ |
std::map< std::string, transform::Rigid3d > | landmark_data_ |
MapById< NodeId, NodeSpec2D > | node_data_ |
sensor::MapByTime< sensor::OdometryData > | odometry_data_ |
optimization::proto::OptimizationProblemOptions | options_ |
MapById< SubmapId, SubmapSpec2D > | submap_data_ |
Additional Inherited Members | |
Public Types inherited from cartographer::mapping::optimization::OptimizationProblemInterface< NodeSpec2D, SubmapSpec2D, transform::Rigid2d > | |
using | Constraint = PoseGraphInterface::Constraint |
using | LandmarkNode = PoseGraphInterface::LandmarkNode |
Definition at line 54 of file optimization_problem_2d.h.
|
explicit |
cartographer::mapping::optimization::OptimizationProblem2D::~OptimizationProblem2D | ( | ) |
Definition at line 148 of file optimization_problem_2d.cc.
|
delete |
|
overridevirtual |
Definition at line 150 of file optimization_problem_2d.cc.
|
overridevirtual |
Definition at line 155 of file optimization_problem_2d.cc.
|
overridevirtual |
Definition at line 176 of file optimization_problem_2d.cc.
|
overridevirtual |
Definition at line 160 of file optimization_problem_2d.cc.
|
private |
Definition at line 343 of file optimization_problem_2d.cc.
|
inlineoverridevirtual |
Definition at line 95 of file optimization_problem_2d.h.
|
overridevirtual |
Definition at line 181 of file optimization_problem_2d.cc.
|
overridevirtual |
Definition at line 165 of file optimization_problem_2d.cc.
|
private |
Definition at line 323 of file optimization_problem_2d.cc.
|
inlineoverridevirtual |
Definition at line 91 of file optimization_problem_2d.h.
|
inlineoverridevirtual |
Definition at line 85 of file optimization_problem_2d.h.
|
inlineoverridevirtual |
Definition at line 98 of file optimization_problem_2d.h.
|
delete |
|
overridevirtual |
Definition at line 190 of file optimization_problem_2d.cc.
|
override |
Definition at line 196 of file optimization_problem_2d.cc.
|
inlineoverridevirtual |
Definition at line 88 of file optimization_problem_2d.h.
|
overridevirtual |
Definition at line 186 of file optimization_problem_2d.cc.
|
overridevirtual |
Definition at line 170 of file optimization_problem_2d.cc.
|
private |
Definition at line 115 of file optimization_problem_2d.h.
|
private |
Definition at line 114 of file optimization_problem_2d.h.
|
private |
Definition at line 112 of file optimization_problem_2d.h.
|
private |
Definition at line 116 of file optimization_problem_2d.h.
|
private |
Definition at line 111 of file optimization_problem_2d.h.
|
private |
Definition at line 113 of file optimization_problem_2d.h.