MCPcopy Create free account
hub / github.com/Robotics-STAR-Lab/H2-Mapping / PoseGraph

Method PoseGraph

src/dvins/pose_graph/src/pose_graph.cpp:3–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "pose_graph.h"
2
3PoseGraph::PoseGraph()
4{
5 posegraph_visualization = new CameraPoseVisualization(1.0, 0.0, 1.0, 1.0);
6 posegraph_visualization->setScale(0.1);
7 posegraph_visualization->setLineWidth(0.01);
8 t_optimization = std::thread(&PoseGraph::optimize4DoF, this);
9 earliest_loop_index = -1;
10 t_drift = Eigen::Vector3d(0, 0, 0);
11 yaw_drift = 0;
12 r_drift = Eigen::Matrix3d::Identity();
13 w_t_vio = Eigen::Vector3d(0, 0, 0);
14 w_r_vio = Eigen::Matrix3d::Identity();
15 global_index = 0;
16 sequence_cnt = 0;
17 sequence_loop.push_back(0);
18 base_sequence = 1;
19
20}
21
22PoseGraph::~PoseGraph()
23{

Callers

nothing calls this directly

Calls 3

push_backMethod · 0.80
setScaleMethod · 0.45
setLineWidthMethod · 0.45

Tested by

no test coverage detected