forked from jingpang/LearnVIORB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configparam.h
55 lines (41 loc) · 1.16 KB
/
configparam.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#ifndef CONFIGPARAM_H
#define CONFIGPARAM_H
#include <Eigen/Dense>
#include <opencv2/opencv.hpp>
namespace ORB_SLAM2
{
class ConfigParam
{
public:
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
ConfigParam(std::string configfile);
double _testDiscardTime;
static Eigen::Matrix4d GetEigTbc();
static cv::Mat GetMatTbc();
static Eigen::Matrix4d GetEigT_cb();
static cv::Mat GetMatT_cb();
static int GetLocalWindowSize();
static double GetImageDelayToIMU();
static bool GetAccMultiply9p8();
static double GetG(){return _g;}
std::string _bagfile;
std::string _imageTopic;
std::string _imuTopic;
static std::string getTmpFilePath();
static std::string _tmpFilePath;
static double GetVINSInitTime(){return _nVINSInitTime;}
static bool GetRealTimeFlag() {return _bRealTime;}
private:
static Eigen::Matrix4d _EigTbc;
static cv::Mat _MatTbc;
static Eigen::Matrix4d _EigTcb;
static cv::Mat _MatTcb;
static int _LocalWindowSize;
static double _ImageDelayToIMU;
static bool _bAccMultiply9p8;
static double _g;
static double _nVINSInitTime;
static bool _bRealTime;
};
}
#endif // CONFIGPARAM_H