-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathhand_eye_small_rotation.h
38 lines (32 loc) · 1.5 KB
/
hand_eye_small_rotation.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
// 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: jin_wu_uestc@hotmail.com; jwucp@connect.ust.hk
// 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_HAND_EYE_SMALL_ROTATION_H
#define LIBQPEP_HAND_EYE_SMALL_ROTATION_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 hand_eye_small_rotation(Eigen::Matrix4d& X,
const std::vector<Eigen::Matrix4d>& A,
const std::vector<Eigen::Matrix4d>& B);
void hand_eye_small_rotation_refine(Eigen::Matrix4d& X,
const std::vector<Eigen::Matrix4d>& A,
const std::vector<Eigen::Matrix4d>& B,
const Eigen::Matrix4d& X0,
const int& num);
#endif