-
Notifications
You must be signed in to change notification settings - Fork 17
/
QPEP.h
40 lines (33 loc) · 1.27 KB
/
QPEP.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
// LibQPEP: A Library for Globally Optimal Solving Quadratic Pose Estimation Problems,
// It also gives highly accurate uncertainty description of the solutions.
//
// Author: Jin Wu
// Affiliation: Hong Kong University of Science and Technology (HKUST)
// Emails: [email protected]; [email protected]
// Reference: Wu, J., et al. (2022) Quadratic Pose Estimation Problems:
// Globally Optimal Solutions,
// Solvability/Observability Analysis,
// and Uncertainty Description.
// IEEE Transactions on Robotics.
// https://doi.org/10.1109/TRO.2022.3155880
#ifndef LIBQPEP_QPEP_H
#define LIBQPEP_QPEP_H
#include <string>
struct QPEP_options {
std::string ModuleName = "";
std::string DecompositionMethod = "";
};
struct QPEP_runtime {
double timeDecompositionDataPrepare = 1e15;
double timeDecomposition = 1e15;
double timeGrobner = 1e15;
double timeEigen = 1e15;
double timeLM = 1e15;
double lossGrobner = 1e15;
double lossLM = 1e15;
int statusDecomposition = -1;
int statusGrobner = -1;
int statusEigen = -1;
int statusLM = -1;
};
#endif //LIBQPEP_QPEP_H