-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpTop_WQD.h
41 lines (36 loc) · 1.59 KB
/
pTop_WQD.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
// 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_PTOP_WQD_H
#define LIBQPEP_PTOP_WQD_H
#include <time.h>
#include <iostream>
#include <vector>
#include <map>
#include <cassert>
#include <Eigen/Core>
#include <Eigen/LU>
#include <Eigen/Dense>
#include <Eigen/Geometry> // For Quaternion
void pTop_WQD(Eigen::Matrix<double, 4, 64>& W,
Eigen::Matrix<double, 4, 4>& Q,
Eigen::Matrix<double, 3, 28>& D,
Eigen::Matrix<double, 3, 9>& G,
Eigen::Vector3d& c,
Eigen::Matrix<double, 4, 24>& coef_f_q_sym,
Eigen::Matrix<double, 1, 85>& coef_J_pure,
Eigen::Matrix<double, 3, 11>& coefs_tq,
Eigen::Matrix<double, 3, 3>& pinvG,
const std::vector<Eigen::Vector3d>& rr,
const std::vector<Eigen::Vector3d>& bb,
const std::vector<Eigen::Vector3d>& nv);
#endif //LIBQPEP_PTOP_WQD_H