17 #ifndef CARTOGRAPHER_MAPPING_2D_SPARSE_POSE_GRAPH_OPTIMIZATION_PROBLEM_H_ 18 #define CARTOGRAPHER_MAPPING_2D_SPARSE_POSE_GRAPH_OPTIMIZATION_PROBLEM_H_ 26 #include "Eigen/Geometry" 30 #include "cartographer/mapping/sparse_pose_graph/proto/optimization_problem_options.pb.h" 34 namespace mapping_2d {
35 namespace sparse_pose_graph {
53 const mapping::sparse_pose_graph::proto::OptimizationProblemOptions&
61 const Eigen::Vector3d& linear_acceleration,
62 const Eigen::Vector3d& angular_velocity);
68 void SetMaxNumIterations(
int32 max_num_iterations);
71 void Solve(
const std::vector<Constraint>& constraints);
73 const std::vector<std::vector<NodeData>>& node_data()
const;
74 const std::vector<std::vector<SubmapData>>& submap_data()
const;
77 mapping::sparse_pose_graph::proto::OptimizationProblemOptions
options_;
78 std::vector<std::deque<mapping_3d::ImuData>>
imu_data_;
87 #endif // CARTOGRAPHER_MAPPING_2D_SPARSE_POSE_GRAPH_OPTIMIZATION_PROBLEM_H_
transform::Rigid2d point_cloud_pose
mapping::sparse_pose_graph::proto::OptimizationProblemOptions options_
UniversalTimeScaleClock::time_point Time
std::vector< std::vector< NodeData > > node_data_
std::vector< std::deque< mapping_3d::ImuData > > imu_data_
std::vector< std::vector< SubmapData > > submap_data_
transform::Rigid2d initial_point_cloud_pose